Visio and MS Project error

I am evaluating LiveCycle ES Version 8.01 for document conversion to PDF. I am only interested in the PDF Generator product of the LiveCycle suite. I need to convert MS office documents including Visio diagrams and MS Project files. I have Visio and Project installed on my server. When I try to convert a Visio document to .pdf I get the following error:
ALC-PDG-1023-000: com.adobe.livecycle.generatepdf.client.ConversionException: ALC-PDG-001-023-An error occurred while launching Microsoft Visio. Please check whether Microsoft Visio is installed on the server."
Visio is definitely installed. In desparation I put the path to the .exe in the PATH environment variable and created a Visio_PATH variable. Still no luck.
My second problem is converting MS Project files. When I try these files I get the following error: Reason of failure is-----Invocation error.
Invocation error.
ALC-PDG-010-015-The conversion operation timed out before it could be completed. Please report this error to the system administrator.
ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
In doing some straw grasping research, I changed the Initial Heap Size and the Max Heap Size to 0. Any suggestions for either of these issues?

Hi
I have a microsoft Project file that I'm trying to print to a PDF. MS Project is version 2003 w sp3. I have Adobe Acrobat v 7 installed also. The problem arises when the pdf is created in ARCH D size (36x24 size).
When the pdf doc is displayed, fonts are missing on the upper right side of the doc (timeline display), and the right side or the end of the gantt display bars. The same fonts appear throughout the rest of the document. What's a planner to do to solve this problem?
Thanks
Tim

Similar Messages

  • WBS Modeler for MS Visio and MS Project

    I am trying to get WBS Modeler to work with MS Project 2010 and MS Visio 2010.  It appears I am missing the adodb.dll from the installation.  How do I correct this matter?
    In short, the WBS modeler Tab does not show up in MS Visio top ribbon.  Visio displays the WBS modeler Add-In but as a folder but once I select the create button, I do not have the opportunity to select it as an option at the top of the ribbon.
    Files(x86)/Visio Add-In for WBS Modeler/adodb.dll did not succeed.

    Hi,
    Before you install “WBS Modeler add-in for Visio 2010”, these system requirements should be met:
    1.Visio Professional 2010 or Visio Premium 2010,
    2.Microsoft Office Project 2003 Service Pack (SP) 1 or later
    3.Microsoft .NET Framework 4.0.
    http://www.microsoft.com/en-hk/download/details.aspx?id=26229
    Then you need to enable the WBS Modeler add-in.
    1.Start Visio, and click File > Option > Add-in.
    2.On the Add-Ins tab click on the Go button at the bottom to manage the list of COM Add-ins.
    3.In the list of installed COM Add-ins check ‘WBSModeller.Connect’ and click on the OK button.
    Note: If you get an error after you click the OK button you may need to reinstall the WBS Modeler add-in. Based on the installation options you may need administrator rights on the machine.
    4. Close Visio and restart Visio.
    More reference:
    http://blogs.msdn.com/b/chhopkin/archive/2009/02/23/the-wbs-menu-is-not-available-after-installing-wbs-modeler-add-in-for-visio.aspx
    Regards,
    Greta Ge
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Opening/storing Visio and MS Project Files

    We are using Teeming for a small team shared across two sites. They want to store and use Vision and MS Project files.
    Using standard MS Office documents seems to work fine, access via Teeming works as expected.
    When opening Visio or Project files, they have to 'download' the file first, make changes and resave the document back up into Teeming. Not so smooth.
    Is this a restriction of Teeming? Can we get this to work as other Office docs?
    Teeming is V2.0 on SLES.
    Thanks

    turners,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Office 2013 with Visio and Project Error - Package manifest is invalid

    In July I successfully created an App-V install of Office 2013 VL using the ODT. This week I decided to try just doing Visio as we don't install it or Project on all systems. I used my same customconfig.xml and just changed the ProPlusVolume to VisioProVolume
    and changed the source path. Everything downloaded and packaged fine. I was able to import into SCCM just fine and create a deployment to my test collection. However when I run the install out of Software Center I get (as part of a much longer error) the message
    in AppEnforce.log that the package manifest is invalid. Thinking that maybe I had to include Office as long with Visio I tried packaing all three items but still get the same error. Has anyone else seen this behavior and/or ideas how to fix it? Can I sequence
    just Visio or just Project? I'm including my config.xml just in case I've got something wrong with it that I haven't caught. Thanks
     <Configuration>
      <Add SourcePath="<networkpath>\Microsoft\AppVOffice2013\Sept\" OfficeClientEdition="32" >
        <Product ID="ProPlusVolume">
        <Language ID="en-us" />
        </Product>
        <Product ID="VisioProVolume">
        <Language ID="en-us" />
        </Product>
        <Product ID="ProjectProVolume">
        <Language ID="en-us" />
        </Product>
      </Add>
      <Display Level="None" AcceptEULA="TRUE" />
      <Logging Name="OfficeSetup.txt" Path="%temp%" />
      <Property Name="AUTOACTIVATE" Value="1" />
    </Configuration>

    Hy. I'm having the same problema.
    I'm trying to create na app-v package (v.5 SP2) of Office 2013.
    I downloaded the Office Deployment Tool for Click-to-Run from here:
    http://www.microsoft.com/en-us/download/details.aspx?id=36778
    I installed it into C:\Office2013pck shared that folder as 
    \\APPVMANAGER\Office2013 and mapped as Z:\.
    I changed the configuration.xml file to:
    <Configuration>
    <Add OfficeClientEdition="32" >
    <Product ID="ProPlusVolume">
    <Language ID="en-us" />
    </Product>
    <Product ID="VisioProVolume">
    <Language ID="en-us" />
    </Product>
    </Add>
    </Configuration>
    Then I ran in na elevated cmd:
    >Z:
    >\\APPV-CL-WIN7DEF\Office2013\setup.exe /download
    \\APPV-CL-WIN7DEF\Office2013\configuration.xml
    and
    >\\APPV-CL-WIN7DEF\Office2013\setup.exe /packager
    \\APPV-CL-WIN7DEF\Office2013\configuration.xml
    \\APPV-CL-WIN7DEF\Office2013\Appv
    Everything seemed to work fine.
    The creted folder had Office\Data\15.0.4649.1001 folder (I guessed this is a version number)
    When I tried to add the package to App-V Server (in the Console) I get the following error:
    An unexpected error occurred while retrieving AppV package manifest. Windows error code: 1465 - Windows was unable to parse the requested XML data.
    I tryied to publish it from powershell, getting the same error message agalluci image post shows.
    From the Event Log I got this additional information:
    There was a problem retrieving the requested package \\APPVMANAGER\AppVpck\Office\VisioProVolume_ProPlusVolume_en-us_x86.appv for import. Error message: Unspecified error
    Element '{http://schemas.microsoft.com/appv/2010/manifest}UsedKnownFolders' is unexpected according to content model of parent element '{http://schemas.microsoft.com/appx/2010/manifest}Package'.
    I haven't found any indication of which file is the manifest app-v file.
    I also haven't found any .xml with the "UsedKnownFolders" tag (I changed the .appv package extension to .zip and explored some of the files).
    I tryied creating a package for 32 and 64 bits, only office, office and visio, and office visio and project running Windos 7 and Windows 2012.
    Thanks in advance for any help.

  • Need to deploy both Visio and Project 2010 by GPO

    I'm looking for a way to deploy Visio and Project 2010 to selected users without SCCM.
    I tried a logon script based on the one Microsoft posted as a sample in Technet and it worked for some users, but is unreliable.  When the users need both Visio and Project, it would error out because it says 2 setup files can't run at the same time.
     So, I set a GPO for logon scripts to run synchronously and it worked for some users, but others would get a black screen at logon that would hang forever.  Seems to me this is UAC interference with no UAC prompt being popped up.  When the script
    was disabled, they could log on normally.
    I thought of startup scripts, but that does not show the user that the software is installing, so they think their computer is stuck booting.
    What are solutions?

    This is the login script I'm using for Visio 2010.  I just substitute the work Visio for Project to make a login script for Visio.  
    It works but the part where it is supposed to recognize that the product is already installed and not install again doesn't work.  can you see an error or other reason why?
    setlocal
    REM *********************************************************************
    REM Environment customization begins here. Modify variables below.
    REM *********************************************************************
    REM Get ProductName from the Office product's core Setup.xml file, and then add "office14." as a prefix. 
    set ProductName=Office14.Visio
    REM Set DeployServer to a network-accessible location containing the Office source files.
    set DeployServer=\\server01\userapps\VisioPro2010
    REM Set ConfigFile to the configuration file to be used for deployment (required)
    set ConfigFile=\\server01\userapps\VisioPro2010\Visio.WW\config.xml
    REM Set LogLocation to a central directory to collect log files.
    set LogLocation=\\server01\userapps\VisioPro2010\logs
    REM *********************************************************************
    REM Deployment code begins here. Do not modify anything below this line.
    REM *********************************************************************
    IF NOT "%ProgramFiles(x86)%"=="" (goto ARP64) else (goto ARP86)
    REM Operating system is X64. Check for 32 bit Office in emulated Wow6432 uninstall key
    :ARP64
    reg query HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432NODE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
    if NOT %errorlevel%==1 (goto End)
    REM Check for 32 and 64 bit versions of Office 2010 in regular uninstall key.(Office 64bit would also appear here on a 64bit OS) 
    :ARP86
    reg query HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\%ProductName%
    if %errorlevel%==1 (goto DeployOffice) else (goto End)
    REM If 1 returned, the product was not found. Run setup here.
    :DeployOffice
    start /wait %DeployServer%\setup.exe /config %ConfigFile%
    echo %date% %time% Setup ended with error code %errorlevel%. >> %LogLocation%\%computername%.txt
    REM If 0 or other was returned, the product was found or another error occurred. Do nothing.
    :End
    Endlocal

  • Error. your computer must be running a supported version of Microsoft Visio and a browser that supports opening files directly from Visio Web Access.

    I have the following inside my SharePoint server 2013 :-
    EnterPrise Wiki site collection.
    i have both "Excel services Application "& "Visio Graphics Service" running correctly.
    The problem i am facing is as follow:-
    when a user click on an Excel sheet or Visio document , it will be shown inside the browser without any problem.
    but if the user click on "Open in Visio" OR "Open in Excel" links inside the browser, they will get the following errors:-
    Sorry, but to open this workbook, your computer must be running a supported version of Microsoft Excel and a browser that supports opening files directly from Office Web Apps.
    To open this document, your computer must be running a supported version of Microsoft Visio and a browser that supports opening files directly from Visio Web Access.
    I have the following settings inside my PC:-
    Office 2010 for Excel, word, power point,etc.
    Visio 2013.
    i have disabled SharePoint foundation support for office 2013
    Can anyone advice on this please?

    Hi,
    Please try to reset the Internet Explorer settings or open Internet Explorer in In-Private browsing and then check if this issue occurs.
    If the issue persists, please try to access SharePoint in another computer with Office 2013 and then check if this issue occurs. Or repair Office and restart your server.
    Here is a blog about the same issue for you to take a look at:
    http://sharepointexit.blogspot.com/2013/12/sorry-but-to-open-this-workbook.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • SCCM 2012 R2 Reports not activate Value button and not showing Visio and Project products

    Hello,
    I have experiencing some problems with SCCM reports
    1)  In some of the reports the "Values" button is disabled and because of that I can not select the name of a specific computer, the reports I've noticed that are relating to Specific Computers
    2) The other problem is that when reviewing a software inventory report on a specific computer, Visio nor the Project of Microsoft Office does not appear , which itself can be seen from the Resource Browser
    I will appreciate it very much to help me to solve these drawbacks presented in the reports of SCCM 2012 R2.
    Thanks in advance.
    Manuel
    Manuel&#180;s Microsoft Forums Threads

    open the report in the report builder tool (in the console, right click and edit. From the reports web page you can click the drop down and choose open with report builder) and examine the query that is being used to populate the computername
    values list. You should be able to run that query from the report builder utility to see if anything is being returned. For the report you mention, there is no query to bring back computer names. In report builder, in the left hand menu, open the parameters
    folder, then right click @variable from the list and open the properties. Go to the available values item in the menu of the properties window and notice that the available values is set to none, not get values from a query. That is why you can't click on
    Values in the SSRS report and get a list of computer Names. You could add a query into the report and save the report if you really want a drop down list of all computer names. I would save the report with a different name if I were to take that approach,
    it is not a good practice to modify the built in reports.
    Regarding the applications you are not seeing, you will have to look at the query contained in the report, and determine if that query is targeting the same view or data that you were looking at using resource explorer. Which category within resource
    explorer were you seeing the information you were expecting to see in this report? You can use report builder to see that the report you are looking at is calling a function to return the software titles, and that function looks to be based on the v_gs_softwareproduct
    view. If you were looking at software files or add/remove programs within the resource viewer, you won't necessarily see the same information in the report, since the report is reading a different view.
    I hope this info will help you to troubleshoot report quirks. SCCM 2012 reporting is a world apart from SCCM 2007 reporting. There are alot more stored procedures and functions used in SCCM 2012, and even a dll file on the reporting point that is required
    for some (most) of the reports!

  • Hello, I need to download Microsoft visio and project on my Macbook pro, can I do that? which site has them?, Hello, I need to download Microsoft visio and project on my Macbook pro, can I do that? which site has them?

    Hello, I need to download Microsoft visio and project on my Macbook pro, can I do that? which site has them?, Hello, I need to download Microsoft visio and project on my Macbook pro, can I do that?

    Viso only runs under Windows, so you'd first have to install Windows, either using Boot Camp or a virtual machine, then purchase Viso. Or, you can purchase this to deal with Viso files:
    http://www.omnigroup.com/products/omnigraffle/feature_comparison/

  • Project Server 2010 - Unable to open project, no valid Project Detail Page could be found for the project error

    I have a workflow being deployed for the first time on a farm. When I create a project with an EPT connected to the workflow it runs and can enter the required field in a PDP.  Then I Submit the workflow to go to the next stage and I get the "Unable
    to open project, no valid Project Detail Page could be found for the project" error.  After that the project is stuck on the same error.  All of the 18 stages have PDP and Schedules assigned to them.
    Any ideas on why the workflow cannot see the PDPs?  Is there a farm permissions that I am missing?  Thanks!

    Hi David,
    It starts to be a bit technical for me, but here is what I found on the web (seems to be an authentication issue with Sharepoint 2010):
    http://social.technet.microsoft.com/Forums/en-US/120ab535-63d2-4205-a51f-1987e9c0cf79/sharepoint-fba-the-content-type-texthtml-charsetutf8-of-the-response-message-does-not-match-the
    http://social.msdn.microsoft.com/Forums/silverlight/en-US/5cc70ff6-50d9-4cd3-b092-12007f4e495b/response-message-contenttypebindingtype-mismatch
    http://stackoverflow.com/questions/5263150/the-content-type-text-html-charset-utf-8-of-the-response-message-does-not-match
    Hope it will help you going forward in resolving your issue.
    Guillaume Rouyre - MBA, MCP, MCTS

  • I have created a projet on imovie and when I try to share it. it automaticall closes and shows an error.. what should I do.. I dont want to loose all my documents at all...?? its very urgent plss tell a solution to it as soon as ppossiblc

    I was working on my project on imovie and when I was trying to share it.. it automatically closes and shows an error... I have tried to do it so many times and it shows the same error again and again.. I dont want to loose the document at all.... I  facing too much problem plss help me plss its very urgrnt for me... plss help me :-(

    well no reply from the community. sniff- do i stink!? - probably a little bit. If i have lost all that data then I'm gonna really really pong.
    Any ways i have purchased a 1tb usb HDD and have managed to duplicate the dmg file onto it. however still unable to mount the **** thing. so now i have ordered disk warrior which will be in my possession tomorrow.
    fingers toes eyes crossed.

  • Moved Premiere Elements 10 project Error: "Project is not compatible with current version of Premiere Elements"

    After moving an entire client folder from an external hard drive to an internal one, the client's video, created in adobe premiere elements 10, will no longer open in adobe premiere elements 10. It appears to be loading the project, and instead of completing, the following error message is displayed: "The project is not compatible with current version of Premiere Elements."
    The same thing occurs when attempting to open the archive files.
    New projects, and unmoved projects behave properly.
    Moved projects receive this error.
    I'm running Windows 7 Home Premium SP1 on a solid state drive (SSD) (c:/), where premiere elements is installed
    My documents, including the project I need to work with are on my "storage" drive (HDD). it is (f:/)

    txnoda
    Archiving Aspects of this.....
    First let clear the matter of the "archiving" as a life saver.... We do not appear to be on the same wave length.
    a. I am talking about File Menu/Project Archiver with its Archive project and Copy project options. This feature is a safety net to save you when you
    inadvertently disconnect source media from the project file. With the Archive option (Trimmed Folder result), you get saved to the computer hard drive (safe keeping) a copy of the project file plus copies of the media that were taken to the Timeline. With the Copy option (Copied Folder result), you get copy of the project files plus copies of much more.
    b. Instead, you appear to be talking about "archiving" in the context of AutoSaves. AutoSaves are saved snapshots of the project at various phases of the edit. They suffer from the same shortcomings of the original project that has been disconnected from its source media.
    When you import media into a project, all you get are copies of the originals in the project. But, those copies need to trace back to originals at the locations where they were when first imported into the project. Moving, renaming, deleting files/folders that went into the project after the project save close leads to some very time consuming messy situations.
    What to do....
    If you can, put everything back the way it was. If not.....
    Let me emphasis some factors..
    You wrote
    After moving an entire client folder from an external hard drive to an internal one, the client's video, created in adobe premiere elements 10, will no longer open in adobe premiere elements 10. It appears to be loading the project, and instead of completing, the following error message is displayed: "The project is not compatible with current version of Premiere Elements."
    Here you mention specifically "client's video". Later you detail with .mod files converted to .avi. What kind of .avi? If you have converted to AVCHD.avi or H.264.avi, they have been found not to be compatible with Premiere Elements. You should not be able to import them into any new or old project.
    From what you described, I am envisioning
    "Video" Folder
    which contains 2 folders named
    "Timestamped Folder" with .avi files
    and
    "DVD" Folder with the project file (project.prel)
    The project file has many files generated automatically in the course of it workflow. Where do you have them going?
    (See Premiere Elements  10 Edit Menu/Preferences/Scratch Discs). If you have the Scratch Discs directed
    "Same As Project", then we would expect all those files to be going to the DVD Folder in the above scenario.
    If we could open the project and get greeted with some "Where is the file.....?" messages, that might give us some hope.
    But that is not the case.
    Consequently from what you have said, I am suggesting that the path of least resistance is try to recreate the "before".
    Please review and consider.
    ATR
    Add On...Not sure if it will assist in the matter, but the following is the link to Adobe's document related to troubleshooting
    damaged projects.
    Troubleshoot a damaged project file | Adobe Premiere Elements

  • PE8 and Encoding/Burning Error:  Unknown Error:2131042562

    Hello all:
    I'm new to the forum and came across an issue.  I had initially responded to an old post but at the direction of a couple veterans they guided me into doing a fresh post and to provide a lot more detail up front (thank you Bill & Steve).  I apologize if I get too wordy everyone.  Here it goes:
    The end result is that I started working on a big project and when selecting "share" I'd burn to a DVD.  It would go through all the processes of encoding and on the final step towards the end Premiere would give me the following message:  Unknown Error: 2131042562.  However a couple times it appeared I got further in which it would say it was burning to disc and then my system would reboot.  Hard to say for sure what state it was at because I'd typically miss the reboot due to length of encoding process.  To provide a little history, I suspected my system was infected a few months ago so I decided to rebuild and in the process upgrade the OS.  I was running Windows 7 Home Premium, 64-bit.  I ended up doing a low-level format and installed Windows 7 Ultimate 64-bit.  Followed the rebuild to a "T" plus have an IT background and have been building PCs for many years.  Prior to rebuild I didn't appear to have a problem and burning discs from within PE worked.  This is first attempt to burn disc through PE since the rebuild.  Everything looks fine with latest drivers installed and installed in the order that Dell documents.  Enough of that and let me get to PC spec's and the project details.
    Dell XPS 8100
    Windows 7 Ultimate 64bit
    Intel i7-860 2.8GHz Quad Core
    8GB RAM
    Intel SATA RAID Controller - 3400 Series
    2 x Seagate Barracuda 750GB HDD, 7200RPM SATA 32MB Cache (ST3750528AS) in RAID1 Configuration
    Single partition, C:\ Drive, with 597GB free (probably not optimal for performance)
    NVidia GeForce GTS 240 Display Adapter
    DVD/BLURAY Combo burner: HLDS BH30N (can burn bluray) - running latest firmware A103
    Pagefile:  System Managed; min 16MB, recommended 12226MB, currently allocated 8151MB
    Video camera used:  JVC Z-HD300AU (Full HD 1920x1080; AVCHD)
    Project:
    Basically putting together a dance team video for my daughter's end of season banquet.  It's a compilation of both mine and another person's video.  I used my camera and the other individual's was also a JVC but not High Def.
    Timeline - Just over 38 minutes
    Settings;  NTSC --> AVCHD-->Full HD 1080i 30 5.1 Channel
    Intro was a "Universal Studios" intro that I found on the internet-->MPEG-4 Movie
    Had 3 PE title screens with some effects and seperate audio playing a .m4a song
    From there probably a total of 9 video clips consisting of other person's video--> .MOD file extension
    Then has 20 photos with title screen with the girls with both the photo and names fading in/out.
    During slideshow I had another audio soundtrack playing in background--> .m4a
    Then came another 20 video clips mostly from my camera --> .MTS file extension
    Throughput the video I either used some fade in/out between video clips or used some of PE's transitions
    What I've done for testing:
    - I tested the burner and burned a data disc with Roxio without issue.
    - I created a new project using same NTSC settings.  I first only took .MOD files and tried ripping and then tried it again with only using some of my clips (.MTS).  Both were unsuccessful.
    - I then changed NTSC format and install of Full HD I just select "HD 1080i 30 5.1 Channel".  Again just creating a much smaller project with the steps prior and still no luck.
    - I've also tried using bluray media instead of DVD+R but again it did not work.
    - I've even disabled McAfee during the process of burning to disc to see if that made a difference.
    - The only successful attempts I've had is when I share to my PC and export to a file.  Was able to do that with my original project plus a couple of my test ones.  I've done both an AVI and MPEG.  Trying to determine which is really the best option/quality.
    I've read that some people recommend exporting to a file because it provides a backup of the video and you don't have to rely on PE.  That might be fine but want to be able to retain my disc menu's and on the occassion in which I record at the highest resolution on my video camera, that I can burn a bluray disc (which I have been successful doing through PE before).  So might be missing a step on maintaining my menu and might need recommendation of a 3rd party software to keep menu and burn to bluray.  Especially if I can't get past my issue.  The end objective is to be able to rip a DVD so I can give one to each of the dance team girls.
    At this stage I don't think I have more to add but I'm sure I overlooked something.  I apologize if I put anyone to sleep.  It is very possible that I'm overlooking something but have to admit that doing video editing and building home DVDs are new to me so still striving to learn more in this area.  I hope that someone has had a similar experience or can perhaps give me some advice.  I've combed through the system event logs and did go through the computer and can't find a single thing wrong with the OS or hardware.  I know back in the day that people would recommend setting the min/max of the pagefile the same to reduce fragmentation of the pagefile.  Not sure if this holds true to Windows 7 or not.  Would think that there might be pros/cons to either configuration.  Maybe something is awry with my rebuild.
    Thanks again for everyone who have been patient enough to read through my post.  Thanks in advance for any help that you might be able to provide.
    Best regards,
    Mark

    Mark,
    Well-stated. Here are a few comments, and some questions:
    You have both HD and SD material, and plan on burning to DVD-Video, which will be SD. How are you handling the mixed footage?
    It appears that you started with an HD Project Preset, to match your JVC's source video. Is that correct?
    What about that SD material? Did you just Scale it up to match the HD material, or did you leave it with full letter-boxing and pillar-boxing, i.e. black bars all around?
    Instead of the iTunes music, can you convert the M4a files to PCM/WAV @ 48KHz 16-bit? Adobe programs can have issues with MPEG Audio, whether MP3, or M4a. The great free audio-editing program, Audacity, should be able to do this easily. This might have zero to do with the issue, but is the workflow that is 100% for me, though I use Adobe Audition to convert to PCM/WAV.
    What are the pixel x pixel dimensions of those still images? Are you Importing overly-large stills, and getting PrE to Scale them down to the Frame Size of your Project?
    As for your Page File, I recommend setting that up to be statically managed, and for two reasons:
    With a statically managed Page File, the OS is freed of having to calculate on the fly, and that takes CPU cycles and reads and writes.
    Depending on the CPU and the I/O sub-system, if the dynamically managed Page File is expanded a bit more slowly, than the program is expecting, it can fault, rather than wait, assuming that the system has hung.
    Though you have two physical HDD's with the RAID 1, they are seen as one, plus the redundancy. It also seems that you have partitions. Is your D:\ just the Dell Recovery Disc? If so, then everything is on one HDD, the OS, the program, the media, the Scratch Disks, everything. This can cause bottlenecks when editing and Exporting/Sharing. Is your RAID controlled via software, or by a dedicated hardware controller card? If via software, then there are many CPU cycles used for that, and especially with a RAID 1.
    You have adequate free space, and that is better than many. PrE requires plenty of HDD space for the very large working files.
    Do you have Windows Indexing ON for your HDD's? This can really get in the way, when editing.
    Now, there are two ways to Burn a DVD - Burn to Disc (where you are getting your errors - right?), and Burn to Folder, which will retain the full Menu system and all authoring. That will create the full DVD VIDEO_TS folder structure, with the IFO, BUP and VOB's. All will be included. Then, one can use a burning utility, like the great, free ImgBurn, to do the physical burn. This also has the advantage of allowing one to slow down the burn speed. About half of max. is better.
    When you do burn, I strongly recommend using either Verbatim, or Taiyo-Yuden blank media.
    I would also carefully check your Timeline for ANY gaps in your Video. Those can cause Transcoding errors. This ARTICLE will give you some background and tips.
    Glad that you have turned OFF your anti-virus software, when you are editing and authoring. Especially the newer real-time monitoring, has caused no end to grief, as it insists on scanning every file accessed, and this can cause many errors.
    For the BSOD/reboot, this ARTICLE might be useful.
    It seems that you have already addressed most of the things in this ARTICLE, but perhaps there is something that has been overlooked.
    I am sure that I am overlooking some things, and hope that others will have ideas.
    Good luck,
    Hunt

  • Visio 2010 Stardard install error on Windows 8.1 with Office Pro 2013 already installed

    Both Visio and Office are 64bit. Visio gives "The language of this installation package is not supported by your system". Tried the LIS "CacheOnly" suggested on a few sites. Causes Installer boot segment fault. Any ideas? Suppose we have
    to uninstall Office, install Visio, re-install office? Afraid that will jack up my activations count. Assuming the issue is newer Office is causing the problem.

    Hi,
    For the error message, the issue may be caused by some reasons.
    The Visio 2010 installation source was damaged.
    The installation source for the language pack did not contain all the necessary files.
    Please try the following methods:
    1.Change an installation source.(Click
    here to re-download)
    2.Extract all sv-se files necessary for the language pack installation and installed the language pack successfully.  
    3.Unzip the installation source and double-click the setup.exe to install.
    If we had tried the all above methods, we need to try that uninstall Office, install Visio, re-install office.  It’s important to always install earlier versions of Office first.
    http://office.microsoft.com/en-us/support/install-and-use-multiple-versions-of-office-on-the-same-pc-HA103981695.aspx
    Regards,
    George Zhao
    TechNet Community Support

  • Conflict between Logic Pro and external device error in Logic Pro X./cpu problems

    hi Logic users,
    using a MacBookPro 15 inch Retina, 2,7 GHz intel Core i7, 16 GB Ram, OSX 10,8,5, Logic X 10.0.4.
    i am wondering if you can help me out with the following problem i cant solve:
    when starting logic x with a not too big arrangement, lets say using one third to half of cpu, i open u-he plugin Diva and the cpu is going up on full range and the following error appears: "sample-rate 39299 (number always changes) reconized. Check conflict between logic pro x and external device"
    as external device im running a VirusTi and as audio-device Apogge Duet. when dis-connecting both devices, i have the same problem.
    putting the sample buffer up to the highest rate, doesnt change anything.
    same arrangements on friends computers dont show that problem, so it has to be something wrong in my set up.
    anybody has an idea?
    would be much appreciated for your help,
    thanx-

    Have you used Diva's preset Accuracy system to reduce CPU load?
    accuracy
    Click on the Main button at the bottom of the window. To the right of the Master section are two selectors called Accuracy and OfflineAcc. In the current version of Diva these are global parameters i.e. they remain fixed across all presets, per loaded instance:
    draft........CPU-friendly, but FM will sound rough and resonance is primitive i.e. NOT zero delay! fast......... Fine for older computers and/or when you need more polyphony in acceptable quality great...... The best compromise between quality and polyphony on high-power computers divine..... Top-quality zero delay feedback filters... but can your computer can handle it?
    OfflineAcc only has two options – same or best (i.e. divine in the current version).
    Some host applications may have problems rendering to audio at the selected accuracy, but the
    better ones include an “inform plug-ins of offline rendering status” or similar.
    I typically work in draft mode and then switch to Devine or best when freezing the track or bouncing the entire project...

  • Slow processing and getting opening errors/warnings

    I've modified the PDF Binder sample to get a plugin that would open PDF's and Tif files, and save them as PDF/A-1b (code below).
    It's working. The problem: it's processing too slow (compared with the Actions batch processing)... and I've been getting warnings/and errors about "The imput file is corrupt or of an unknown/unsupported type" type. This is stopping my batch process until I click OK, and the it continues.
    I am trying to process a few thousand of tif files now. I tried first to use the Batch processing capability built in the Acrobat X... an it works, but only with the first 255 documents in the folder... then gives an "insufficient disk space" message for the rest of the files in the directory.
    So, 2 questions: Does anyone knows why it is so slow processing the tiff files and... how I can make my code "silent" so it does not wait for the OK after the message??
    Thanks in advance.
    The code:
    ADOBE SYSTEMS INCORPORATED
    Copyright (C) 1998-2006 Adobe Systems Incorporated
    All rights reserved.
    NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the Adobe license agreement
    accompanying it. If you have received this file from a source other
    than Adobe, then your use, modification, or distribution of it
    requires the prior written permission of Adobe.
      \file PDFBinder.cpp
    - Implements a method to convert multiple files into PDFs and bind the PDFs
    into one PDF file. The code shows how to use AVConversionToPDFHandler to
    convert files to PDF and how to use PDDocInsertPages() to combind PDF files.
    // Headers.
    #include <stdio.h>
    #include <ctype.h>
    #ifndef MAC_PLATFORM
    #include <direct.h>
    #include "PIHeaders.h"
    #endif
    // Defines ----------
    // Define this flag to show AVConversionToPDFEnumHandler info. in log file.
    #define SHOW_TOPDF_HANDLER_TYPES   
    // define this flag to use file type filter 
    #define USE_FILE_FILTER   
        Constants/Declarations
    // Message display control.  Ture: display
    ASBool bEcho = true;
    // File location. User can change the following filenames.
    #if WIN_PLATFORM
        const char* STRING_PDFBinderFolder = "C:\\Fairfax\\Adobe\\in";
        const char* STRING_PDFOutputFolder = "C:\\Fairfax\\Adobe\\PDFA";
        const char* FOLDERSYMBOL="\\";
    #endif
    #if MAC_PLATFORM
        const char* STRING_PDFBinderFolder = "/PDFBinder";
        const char* FOLDERSYMBOL="/";
    #endif
    char* OutputPdfFileName = "PDFBinderOutput.pdf";
    char* LogFileName = "PDFProcessLog.txt";
    static ASInt32 gNumToPDFExt;
    static ASInt32 gNumFromPDFExt;
    static AVConversionFromPDFHandler RightHandler;
    const int MAX_FILENAME_LENGTH = 256;
    char sLogFileName[MAX_FILENAME_LENGTH];
    // Filter -----------
    // Filter is a list of file types which can be converted to PDF in this program.
    // Use a filter may fit user's specific needs and ensure a smooth automation process.
    // Of course, the user can turn off the filter in two ways:
    //   (1) gPDFBinderFileFilter = "";
    //   (2) comment out //USE_FILE_FILTER 
    // The filter should be consistent with the Acrobat viewer's menu capability:
    //   Create PDF from multiple files ...
    // Here we put the types which have been tested, but user can expand it.
    const char* gPDFBinderFileFilter = "pdf,tif,tiff,PDF,TIF,TIFF";
    const int MAX_STRING_LENGTH = 2048;
    AVConversionToPDFHandler gHandler;
    // functions in this file.
    int    ConvertAndInsertFileToPDF(ASPathName aspItem, char* aFileName, PDDoc  PDFfile);
    void BindingFileToPDF(ASPathName aPathName, char* aFilename, ASFileSysItemPropsRec nFileAttrb, PDDoc targetPDdDoc, ASPathName outputPathName, int *ipTotal, int *ipConverted);
    ASBool PassPDFBinderFileFilter(char* filename);
    int    ConvertAndSavePDFInTargetFolder(ASPathName aPathName, char* aFileName, PDDoc PDFfile, ASPathName outputPathName);
    char* NewFileName(char *& aFileName);
    // callbacks
    ACCB1 ASBool ACCB2 MyAVConversionToPDFEnumProc(AVConversionToPDFHandler handler, AVConversionEnumProcData data);
    ACCB1 ASBool ACCB2 AVConversionToPDFEnumFindHandler(AVConversionToPDFHandler handler, AVConversionEnumProcData data);
    static ACCB1 ASBool ACCB2 myAVConversionFromPDFEnumProc(AVConversionFromPDFHandler handler, AVConversionEnumProcData data);
        Implementation
    /**    This sample implements a method to convert multiple files into PDF
      and bind the PDFs into one PDF file .
        This sample shows developers how to grammatically implement To-PDF file
      converson functionality.  Basically, the code uses AVConversionToPDFHandler
      to convert files to PDF and PDDocInsertPages()to combine PDF files.
      This plug-in is designed to run from a menu item, and by setting bEcho = false
      it may be run without any graphics user interface on the screen. Therefore, it 
      can be executed from other programs such as C IAC, VB IAC, and JavaScript
      to meet enterprise workflow needs.
        How to run it :
        - This sample adds a menu item "PDF Binder" under the Acrobat SDK submenu. Two ways to
        execute it: 1) click the menu item to run the program using a fixed file location
        hard coded; 2) press the shift key and click the menu item to choose a folder where
        files to be converted are located.
        - Without folder selection, this original code is to convert and bind files in a
        directory    C\test\PDFBinder for Win, or a folder   MacHD:test:PDFBinder for Mac.
        You can copy the test files in the project's testfiles folder to the appropriate location 
        for testing. You may locate files to be converted in another directory/folder, and
        specify the location in the string variable PDFBinderFolder in the code.
        - When you have the files to be converted ready in the specified location,
        run Acrobat 6 menu Advanced->AcrobatSDK->PDF Binder to start the operation.  There are
        echo messages informing you of the operation start and end, but you can change and
        rebuild the code to turn off the display on screen.
        - An output file PDFBinderOutput.pdf in the same location is created
        when the program succeeds. A text log file  PDFBinderLog.txt in the same
        location records the process and results.
        -  You can set bEch = false in the code to turn off any display on the screen.
        This is necessary when you  call the menu function from within other programs
        of C IAC, VB IAC, JavaScript. 
        -  An optional file filter is used to pre-process the files. The filter only allows
        the files with predefined types to be processed. You can change the file type list
        as you wish. Using a filter may ensure a smooth automation process, since you can put
        only well-tested file types in the filter. To turn off the filter, you can set
        gPDFBinderFileFilter = "" or not to define USE_FILE_FILTER 
        - Note this is a sample only, developers need to make further improvement for
        their actual use. For example, you can set up a list of files to use the method for
        the conversion and binding. And you can add code to handle special file types.
          @see AVConversionConvertToPDFWithHandler
        @see AVConversionEnumToPDFConverters
        @see ASFileSysDestroyFolderIterator
        @see PDDocOpen
        @see PDDocClose
        @see PDDocInsertPages
        @see PDDocCreatePage
        @see PDDocDeletePages
        @see PDPageRelease
        @see ASFileSysCreatePathName
        @see ASFileSysFirstFolderItem
        @see ASFileSysNextFolderItem
        @see ASFileSysGetNameFromPath
        @see ASFileSysReleasePath
    ACCB1 void ACCB2 PDFBinderCommand(void*)
        // if the menu item clicked with Shift key pressed down, go to interactive mode.
        // let the user to choose a folder and process all the file in the folder.
        ASText dispText = ASTextNew();
        char PDFBinderFolder[MAX_STRING_LENGTH];
        ASBool shiftKeyIsDown = ((AVSysGetModifiers() & AV_SHIFT) != 0);
        if(shiftKeyIsDown) {
            AVOpenSaveDialogParamsRec dialogParams;
            // Configure the dialog box parameters.
            memset (&dialogParams, 0, sizeof (AVOpenSaveDialogParamsRec));
            dialogParams.size = sizeof(AVOpenSaveDialogParamsRec);
            dialogParams.windowTitle = ASTextFromScriptText("Choose folder with files to bind",kASRomanScript);
            dialogParams.flags |= kAVOpenSaveAllowForeignFileSystems;
            dialogParams.initialFileSys = ASGetDefaultUnicodeFileSys();
            ASPathName thePath;
            ASFileSys fileSys;
            AVAppBeginModal(NULL);
            if(ASBoolToBool(AVAppChooseFolderDialog(&dialogParams, &fileSys, &thePath)) != true){
                AVAppEndModal();
                //AVAlertNote("Failed to select the folder");
                return;
            AVAppEndModal();
    #ifdef WIN_PLATFORM       
            ASFileSysDisplayASTextFromPath(ASGetDefaultUnicodeFileSys(), thePath, dispText);
            ASHostEncoding bestEnc = ASTextGetBestEncoding(dispText, (ASHostEncoding)PDGetHostEncoding());
            strncpy(PDFBinderFolder, ASTextGetEncoded(dispText, bestEnc), MAX_STRING_LENGTH - 1);
    #else       
            ASPlatformPath aspPath;
            ASFileSysAcquirePlatformPath(fileSys, thePath, ASAtomFromString("POSIXPath"), &aspPath);
            strncpy(PDFBinderFolder, (char *)ASPlatformPathGetPOSIXPathPtr(aspPath), MAX_STRING_LENGTH - 1);
            ASFileSysReleasePlatformPath(fileSys, aspPath);
            // remove extra path separator
            char e = PDFBinderFolder[strlen(PDFBinderFolder)-1];
            if(e == ':' || e == '/')
                PDFBinderFolder[strlen(PDFBinderFolder)-1]='\0';
            dispText = ASTextFromScriptText(PDFBinderFolder, kASEUnicodeScript);
    #endif
            ASFileSysReleasePath(fileSys, thePath);
        // Otherwise, the hard coded file path will be used.
        else {
            strcpy(PDFBinderFolder, STRING_PDFBinderFolder);
            dispText = ASTextFromScriptText(PDFBinderFolder, kASRomanScript);
        // instruction message
        char strMsg[MAX_STRING_LENGTH] = "";
        sprintf(strMsg, "This function will convert and process Tiff and PDF files in the selected directory. ");
        strcat(strMsg, " You need to copy your files in C:\\Fairfax\\Adobe\\in directory." );
        strcat(strMsg, " Files will be processed into C:\\Fairfax\\Adobe\\PDFA directory." );
        strcat(strMsg, " If you are ready, click OK to continue, or click Cancel to quit. " );
        strcat(strMsg, " \nNote you can press down Shift key and click the menu item to have a folder selection. " );
        strcat(strMsg, " \nNote you can turn off the echo message by setting bEcho = false and rebuild the code. " );
        if(ASBoolToBool(bEcho)==true){
            ASInt32 choice = AVAlert(ALERT_CAUTION, strMsg, "OK", "Cancel", NULL, true);
            if(choice==2) {
                return;
        // create a new target pdf file with one empty page
        PDDoc TargetPDF = PDDocCreate();
        ASFixedRect mediaBox = { fixedZero, ASInt32ToFixed(792), ASInt32ToFixed(612), fixedZero };
        PDPage emptyPage = PDDocCreatePage (TargetPDF, PDBeforeFirstPage, mediaBox);
        PDPageRelease (emptyPage);
        //     get available headlers and set our file filter
        char ValidExt[MAX_STRING_LENGTH];
        memset(ValidExt, 0, MAX_STRING_LENGTH);
    #ifdef SHOW_TOPDF_HANDLER_TYPES   
        // enumerate AVConversioToPDF handlers to get all available file
        // types which can be converted to PDF.
        AVConversionEnumToPDFConverters(MyAVConversionToPDFEnumProc, (AVConversionEnumProcData) ValidExt);
        //AVAlertNote("Converters Defined");
        //AVAlertNote(ValidExt);
        //AVAlertNote(gPDFBinderFileFilter);
    #endif
    #ifdef USE_FILE_FILTER    
        // set File filter
        strcpy(ValidExt, gPDFBinderFileFilter);
        //AVAlertNote(ValidExt);
    #endif
        // process all files in the directory
        int iNumFiles = 0;
        int iNumFilesConverted = 0;
        char* Done = "Converted";
        char* NotDone = " - ";
        char fileName[MAX_FILENAME_LENGTH+1];
        ASFileSysItemPropsRec props;
        ASFolderIterator iter;
        ASPathName aspItem = NULL;
        memset(&props, 0, sizeof(props));
        props.size = sizeof(props);
        //AVAlertNote("Props Defined");
        ASPathName theFolder = NULL;
        ASFileSys fileSys = NULL;
        DURING
    #ifdef WIN_PLATFORM   
        fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), dispText);
        theFolder = ASFileSysCreatePathName (fileSys, ASAtomFromString("ASTextPath"), dispText, 0);
        //AVAlertNote("FileSys and Folder Defined");
    #else
        fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("POSIXPath"), PDFBinderFolder);
        theFolder = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("POSIXPath"), PDFBinderFolder, 0);
    #endif
        if (theFolder==NULL) {
            //AVAlertNote("Fail to create ASPathName for the selected folder.");
            E_RTRN_VOID
        // Find first file in current directory
        if((iter = ASFileSysFirstFolderItem(fileSys, theFolder, &props, &aspItem))==FALSE) {
            //AVAlertNote("This is either an invalid folder or the folder contains no files.");
            E_RTRN_VOID
        ASFileSysReleasePath(fileSys, theFolder);
        //AVAlertNote("Folder Released");
        // get filename only
        if(ASFileSysGetNameFromPath(fileSys, aspItem, fileName, sizeof(fileName))) {
            E_RTRN_VOID
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(aspItem!=NULL) ASFileSysReleasePath(fileSys, aspItem);
            if(theFolder!=NULL) ASFileSysReleasePath(fileSys, theFolder);
            // display an error message.
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote (errorMsg);
            return;
        END_HANDLER
        //AVAlertNote(fileName);
        // go to binding if it's a valid type of file
        if(props.type == kASFileSysFile && PassPDFBinderFileFilter(fileName)) {
            char outFileName[] = "";
            //strcat(outFileName, STRING_PDFOutputFolder);
            //strcat(outFileName, FOLDERSYMBOL);
            //strcat(outFileName, fileName);
            strcat(outFileName, STRING_PDFOutputFolder);
            strcat(outFileName, FOLDERSYMBOL);
            strcat(outFileName, fileName);
            //AVAlertNote(outFileName);
            ASPathName outputFileName = ASFileSysCreatePathName (ASGetDefaultFileSys(), ASAtomFromString("Cstring"), outFileName, 0);
            BindingFileToPDF(aspItem, fileName, props, TargetPDF, outputFileName ,&iNumFiles, &iNumFilesConverted);
            //AVAlertNote("File Processed");
        ASFileSysReleasePath(fileSys, aspItem);
        // process all other files 
        while(ASFileSysNextFolderItem(fileSys, iter, &props, &aspItem)) {
            // get filename only
            if(ASFileSysGetNameFromPath(fileSys, aspItem, fileName, sizeof(fileName))) {
                return;
            // go to binding if it's a valid type of file
            if(props.type == kASFileSysFile && PassPDFBinderFileFilter(fileName))  {
                char outFileName[] = "";
                //strcat(outFileName, STRING_PDFOutputFolder);
                //strcat(outFileName, FOLDERSYMBOL);
                //strcat(outFileName, fileName);
                strcat(outFileName, STRING_PDFOutputFolder);
                strcat(outFileName, FOLDERSYMBOL);
                strcat(outFileName, fileName);
                //AVAlertNote(outFileName);
                ASPathName outputFileName = ASFileSysCreatePathName (ASGetDefaultFileSys(), ASAtomFromString("Cstring"), outFileName, 0);
                BindingFileToPDF(aspItem, fileName, props, TargetPDF, outputFileName, &iNumFiles, &iNumFilesConverted);
                //AVAlertNote("File Processed");
            ASFileSysReleasePath(fileSys, aspItem);
        ASPathName pdfPathName = NULL;
        DURING
        // close the findfile
        ASFileSysDestroyFolderIterator(fileSys, iter);
        // save and close the output pdf file
        // create path
        ASText pathText = ASTextNew();
        ASTextCatMany(
            pathText,
            dispText,
            ASTextFromScriptText(FOLDERSYMBOL, kASRomanScript),
            ASTextFromScriptText(OutputPdfFileName, kASRomanScript),
            NULL);
    #ifdef WIN_PLATFORM
        ASFileSys fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), pathText);
        pdfPathName = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("ASTextPath"), pathText, 0);
    #else
        char path[MAX_STRING_LENGTH];
        strncpy(path, ASTextGetEncoded(pathText,
            ASTextGetBestEncoding(pathText, (ASHostEncoding)PDGetHostEncoding())), MAX_STRING_LENGTH - 1);
        ASFileSys fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("POSIXPath"), path);
        pdfPathName = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("POSIXPath"), path, 0);   
    #endif
        if(pdfPathName==NULL) {
            E_RTRN_VOID
        // delete the empty page
        if(PDDocGetNumPages(TargetPDF)>1) {
            PDDocDeletePages (TargetPDF, 0,0,NULL, NULL);
        // save
        //PDDocSave (TargetPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized,
        //            pdfPathName, ASGetDefaultUnicodeFileSys(),    NULL, NULL);
        PDDocClose (TargetPDF);
        //ASFileSysReleasePath(fileSys, pdfPathName);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(pdfPathName!=NULL) ASFileSysReleasePath(fileSys, pdfPathName);
            // display an error message.
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote (errorMsg);
            return;
        END_HANDLER
        // use this line to show the massage on screen if you need
        //if(ASBoolToBool(bEcho)==true) {
        AVAlertNote ("Folder Completed. PDF/A Output files generated.");
        return;
    /* ConvertAndInsertFileToPDF
    /** Internal function \n
    ** Convert a file to PDF, then insert it to target PDF file.
    ** @param aFileName IN  char string, filename.
    ** @param PDFfile IN/OUT PDDoc of the target PDF file.
    ** @return 0 if OK, 1 if failed.
    int    ConvertAndInsertFileToPDF(ASPathName aPathName, char* aFileName, PDDoc PDFfile)
        PDDoc tempPDF;
        char* Ext;
        DURING
            // get file extention
            Ext = strrchr(aFileName,'.');
            if(Ext) {
                Ext++;
            else {
                E_RETURN (1);
            // if the file is PDF, open PDDoc
            if(strcmp(Ext,"PDF")==0 || strcmp(Ext,"pdf")==0) {
                tempPDF = PDDocOpen (aPathName, ASGetDefaultFileSys(), NULL, true);
                if(tempPDF==NULL) {
                    PDDocClose(tempPDF);
                    E_RETURN (1);
            // else convert it to PDF
            else
                // let it automatically find right handler for the file and do the job.
                AVConversionStatus stat = AVConversionConvertToPDF
                    (kAVConversionAsyncOkay, //kAVConversionNoFlags
                      aPathName, ASGetDefaultFileSys(), &tempPDF, NULL);
                // check if successful
                if(stat != kAVConversionSuccess) {
                    //AVAlertNote("Cannot convert the file.");
                    E_RETURN (1);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            // display an error message.
            if(ASBoolToBool(bEcho) == true) {
                AVAlertNote (errorMsg);
            return 1;
        END_HANDLER
        // insert new PDF into target PDF
        DURING
            // insert all pages of new pdfc to TargetPDFfile.
            PDDocInsertPages(PDFfile, PDLastPage, tempPDF, 0,
                            PDAllPages, PDInsertAll, NULL, NULL, NULL, NULL);
            PDDocClose(tempPDF);
        HANDLER
             char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote(errorMsg);
        END_HANDLER
            if(strcmp(Ext,"doc")==0) {
                char fname[40];
                sprintf(fname,"%s.pdf",aFileName);
                remove(fname);
            return 0;
    /* MyAVConversionToPDFEnumProc
    /** Internal callback function \n
    ** called for every AVConversionToPDFHandler.
    ** get the valid type (file extention) for the conversion. 
    ** @return true.
    ACCB1 ASBool ACCB2 MyAVConversionToPDFEnumProc(AVConversionToPDFHandler handler,
                                                 AVConversionEnumProcData data)
        ASUns16 numFileExt = handler->convFilter.numFileDescs;
        for (int i = 0; i < numFileExt; i++) {
            char* ext = handler->convFilter.fileDescs[i].extension;
            if(strlen(ext)>0) {
                strcat((char*) data, ext);
                strcat((char*) data, ",");
        return true;
    /* this is alternative code to get right conversion handler for a specific file
       to be converted. It works with function AVConversionConvertToPDFWithHandler.
       It's not used now, but kept for user's reference.
    ACCB1 ASBool ACCB2 AVConversionToPDFEnumFindHandler(AVConversionToPDFHandler handler,
                                                 AVConversionEnumProcData data)
        ASUns16 numFileExt = handler->convFilter.numFileDescs;
        for ( int i = 0; i < numFileExt; i++)
            char* ext = handler->convFilter.fileDescs[i].extension;
            if(strlen(ext)) {
                if(!strcmp((char*) data, ext)) {
                    gHandler = handler;
                    return false;
        return true;
    /* BindingFileToPDF
    /** Internal callback function for binding process \n
    ** IN: char* aFilename, ASFileSysItemPropsRec nFileAttrb \n
    **     PDDoc targetPDdDoc, int *ipTotal, \n
    **     int *ipConverted, FILE *logfile \n
    ** OUT: int *ipTotal, int *ipConverted. \n
    void BindingFileToPDF(ASPathName aPathName, char* aFilename, ASFileSysItemPropsRec nFileAttrb, PDDoc targetPDdDoc, ASPathName outputPathName, int *ipTotal, int *ipConverted)
        // ignore system, hidden files, and our target PDF and log file.
        if( nFileAttrb.isHidden 
            || (strcmp(aFilename,".")==0) || (strcmp(aFilename,".." )==0)
            || (strcmp(aFilename,OutputPdfFileName)==0) || (strcmp(aFilename,LogFileName)==0)) {
                return;
        (*ipTotal)++;
        char msg[MAX_STRING_LENGTH] = "";
        char* Done = "Converted";
        char* NotDone = " - ";
        // try to convert and insert it to target PDF file.
        // rc would be 0 for success, otherwise 1.
        int rc = ConvertAndSavePDFInTargetFolder(aPathName, aFilename, targetPDdDoc, outputPathName);
        // if converted
        if(rc==0) {
            (*ipConverted)++;
    /* PassPDFBinderFileFilter
    /** Internal callback function for binding process
    ** @return true if the IN aFilename is a valid file for PDF conversion,
    ** otherwise false.
    ASBool PassPDFBinderFileFilter(char* aFilename)
    #ifdef USE_FILE_FILTER
        // if the filter is empty, any file will pass.
        if(strlen(gPDFBinderFileFilter)==0)
            return true;
        char* Ext = strrchr(aFilename,'.');
        if(Ext!=NULL) {
            Ext++;
            if(strstr(gPDFBinderFileFilter, Ext)) {
                return true;
        return false;
    #else
            // not use filter, any file will pass.
            return true;
    #endif
    /* ConvertAndInsertFileToPDF
    /** Internal function \n
    ** Convert a file to PDF, then insert it to target PDF file.
    ** @param aFileName IN  char string, filename.
    ** @param PDFfile IN/OUT PDDoc of the target PDF file.
    ** @return 0 if OK, 1 if failed.
    int    ConvertAndSavePDFInTargetFolder(ASPathName aPathName, char* aFileName, PDDoc PDFfile, ASPathName outputPathName)
        PDDoc tempPDF;
        char* Ext;
        DURING
            // get file extention
            Ext = strrchr(aFileName,'.');
            if(Ext) {
                Ext++;
            else {
                E_RETURN (1);
            // if the file is PDF, open PDDoc
            if(strcmp(Ext,"PDF")==0 || strcmp(Ext,"pdf")==0) {
                tempPDF = PDDocOpen (aPathName, ASGetDefaultFileSys(), NULL, true);
                if(tempPDF==NULL) {
                    PDDocClose(tempPDF);
                    E_RETURN (1);
            // else convert it to PDF
            else
                // let it automatically find right handler for the file and do the job.
                AVConversionStatus stat = AVConversionConvertToPDF
                    (kAVConversionAsyncOkay, //kAVConversionNoFlags
                      aPathName, ASGetDefaultFileSys(), &tempPDF, NULL);
                // check if successful
                if(stat != kAVConversionSuccess) {
                    //AVAlertNote("Cannot convert the file.");
                    E_RETURN (1);
                else {
                    //change Extension
                    ASText asTmp = ASTextNew();
                    ASFileSysDisplayASTextFromPath(ASGetDefaultUnicodeFileSys(), outputPathName, asTmp);
                    //AVAlertNote(ASTextGetScriptText(asTmp, kASRomanScript));
                    if(strcmp(Ext,"TIF")==0 || strcmp(Ext,"tif")==0){
                        ASTextReplace(asTmp, ASTextFromScriptText(".tif", kASRomanScript), ASTextFromScriptText(".pdf", kASRomanScript));
                    } else {
                        ASTextReplace(asTmp, ASTextFromScriptText(".tiff", kASRomanScript), ASTextFromScriptText(".pdf", kASRomanScript));
                    //AVAlertNote(ASTextGetScriptText(asTmp, kASRomanScript));
                    outputPathName = ASFileSysCreatePathName (ASGetDefaultUnicodeFileSys(), ASAtomFromString("ASTextPath"), asTmp, 0);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            // display an error message.
            if(ASBoolToBool(bEcho) == true) {
                AVAlertNote (errorMsg);
            return 1;
        END_HANDLER
        // Run OCR and Save new PDF into target PDF
        DURING
            //    OCR
            ASAtom cmdName;
            AVCommand cmd;
            cmdName=ASAtomFromString("PaperCapture");
            cmd=AVCommandNew(cmdName);
            ASCab config = ASCabNew();
            ASCabPutInt (config, "UIPolicy", kAVCommandUISilent);       //hide the interface
            if (kAVCommandReady ==     AVCommandSetConfig (cmd, config)) {
                //AVAlertNote("Config Ready");
            ASCab inputs = ASCabNew();
            ASCabPutPointer (inputs, kAVCommandKeyPDDoc, PDDoc, tempPDF, NULL);
            if (kAVCommandReady == AVCommandSetInputs (cmd, inputs)) {
                //AVAlertNote("Input Ready");
            ASCabDestroy (inputs);
            AVCommandStatus status = AVCommandExecute(cmd);
                        //switch (status) {
                        //    case kAVCommandReady :
                        //        AVAlertNote("Not working, but ready to work.");
                        //        break;
                        //    case kAVCommandWorking :
                        //        AVAlertNote("Still working");
                        //        break;   
                        //    case kAVCommandDone :
                        //        AVAlertNote("Done working");
                        //        break;   
                        //    case kAVCommandInError :
                        //        AVAlertNote("In Error");
                        //        break;       
                        //    case kAVCommandNotExecuted :
                        //        AVAlertNote("Command not executed due to lack of objects on which the command to be executed");
                        //        break;
            AVCommandDestroy(cmd);
            //Save
            //PDDocSave (tempPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized, outputPathName, ASGetDefaultUnicodeFileSys(),    NULL, NULL);
            //ClosePDF
            //PDDocClose(tempPDF);
            //Convert to PDF/A Compliance
            //Select the right handler
            AVConversionEnumFromPDFConverters(myAVConversionFromPDFEnumProc, NULL);
            // do conversion
            AVConversionStatus stat = AVConversionConvertFromPDFWithHandler(RightHandler, NULL, kAVConversionAsyncOkay, tempPDF, outputPathName,  ASGetDefaultFileSys(), NULL);
            // check the returned status and show message
            //if (stat == kAVConversionSuccess)
            //                AVAlertNote( "The PDF/A file was saved in output folder." );
            //else if (stat == kAVConversionFailed)
            //                AVAlertNote( "The PDF/A conversion failed." );
            //else if (stat == kAVConversionSuccessAsync)
            //                AVAlertNote( "The conversion will continue asynchronously." );
            //else if (stat == kAVConversionCancelled)
            //                AVAlertNote( "The conversion was cancelled." );
            //Save
            //PDDocSave (tempPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized, outputPathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
            //ClosePDF
            PDDocClose(tempPDF);
            ASFileSysReleasePath(ASGetDefaultFileSys(), outputPathName);
        HANDLER
             char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote(errorMsg);
        END_HANDLER
            if(strcmp(Ext,"doc")==0) {
                char fname[40];
                sprintf(fname,"%s.pdf",aFileName);
                remove(fname);
            return 0;
    //Select the appropiate handler for the PDF/A conversion
    static ACCB1 ASBool ACCB2 myAVConversionFromPDFEnumProc(AVConversionFromPDFHandler handler, AVConversionEnumProcData data)
        AVFileFilterRec filter = handler->convFilter;
        ASUns16 numFileExt = filter.numFileDescs;
        char *kUniqueID = handler->uniqueID;
        // go through the conversion handlers to find a handler for PDF extension files and the unique key matches the PDF/A one.
        for  (ASInt32  i = 0; i < numFileExt; i++)
            if  (strlen(handler->convFilter.fileDescs[i].extension)>0)
                // found it, fill in the handler and return false to stop going on.
                if (!strcmp(handler->convFilter.fileDescs[i].extension, "pdf") && !strcmp(kUniqueID,"com.callas.preflight.pdfa")) {
                    RightHandler = handler;
                    return  false ;
        return true;

    There are some options for various APIs to run "kinda silent" - but again, Acrobat is designed for INTERACTIVE use…so "completely silent" isn't really an option.
    As for speed – you'd need to be MUCH MORE specific about where your slow downs are.  Have you profiled?
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 12 Dec 2011 07:39:08 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Slow processing and getting opening errors/warnings
    Re: Slow processing and getting opening errors/warnings
    created by FFX-ER<http://forums.adobe.com/people/FFX-ER> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4079175#4079175

Maybe you are looking for

  • IDOC Problem From 46C To ECC6 For ORDERS05

    Hello I am trying to generate 46C version ORDERS05 basic type from ECC6 700 version. Within WE20(Partner Profiles) I have set the Seg. release in IDOC type to 46C to generate the old 46C segment. When I run my test again the IDOC that was generated i

  • SAP TDMS - Could not copy A002 Relationships to the target system

    Hi,   I had used HCM package for PD & PA from TDMS to transfer the Organizational Management data for couple of records. Everything went fine except that the A002 relationship records were not copied to the target system.   I had verified the target

  • My RSS feed text not visible on mobile phones

    My site is working great (http://www.acconstant.com), but my friend and I are having trouble seeing the content on mobile phones (well, at least his and mine). Wondering if this is fix-able.

  • Is there a way to put anchors in code to quickly navigate files?

    Hi, I've been using dreamweaver for some time now and I've been wondering if this feature exists. I'd like to be able to mark a section of code such as my h1-h6 definitions in a css file and by clicking a button, creating a keyboard shortcut, or some

  • Work Flow and Oracle Apps

    Do my developer need to use the APPS account for maintaining and building work flows? Or can they use another account with the correct privleges? Thanks