Acrobat Distiller Automation Interface Error

As software developer I try to use the Adobe Acrobat Distiller Automation  Interface as described in the document "Acrobat Distiller
API Reference",  "Windows Automation".
Now I have found the problem, that if the same user is using the automation  interface at the same time, the second user fails with the following error: The  server threw an exception. (-2147417851).
I have investigated myself into the problem I discovered that the same user  is sharing the acrodist.exe process. How can I now start
an own process to  allow parallel execution?
With two different users the problem does not occur.
Thanks for your help
Raphael Affolter

That's what I have done. I have created an own Mutext to synchronize access to the Distiller Interface.
But race conditions exists even with a Mutex on a fast machine because if one process is releasing and the other acquiring the Distiller interface at the same time, the second process may fail.
The documentation says: Each user of the automation interface has its own Distiller instance. There is no sharing of a common Distiller.
Therefore I have tested this and it works fine for different users (even if the EULA prohibits this).
To solve the synchronization and race conditions, even for the same user an own instance should be started or the Distiller should serialize the requests itself (to avoid race condition).
Thanks again
Raphael Affolter

Similar Messages

  • Acrobat Distiller 9 Error - Cannot Print PDF

    When I try to print PDFs from any browser or piece of software, try to open Distiller directly, or even scan to PDFs, I receive the following error:
    Unable to create the temporary folder.
    Error: 5 - Access is denied.
    I have had no problems until Monday with this.  I did not install any new software.  I have done the following:
    Scanned the computer for Malware (Malwarebytes) - 0 threats found
    Scanned the computer for regular virus/registry issues (AVG 2013) - 0 threats found
    Repaired Acrobat 9 PRO installation - no change
    Rebooted multiple times - no change
    My computer runs Windows 7 64-bit, and I have Adobe Web Premium CS5 (which comes with Acrobat 9 PRO).  I currently do not have access to the installation discs, as I just moved.

    jlk2011 thanks, I found your thread, and it worked!  I'm sharing what I did here and then closing the thread.
    By holding the Windows key and R down, I typed %TEMP% into the Run field and hit Enter.
    I found a temp folder name Acrobat Distiller 9.  I deleted the folder.  I then created a new folder with the same name, and I was immediately able to print PDFs again.  The issue was resolved.

  • Acrobat Distiller Error 5 message when scanning?

    Acrobat Distiller unable to create temp folder error 5 message when scanning. I can print no problem cannot scan with error?

    Hi,
    Similar issues have been resolved in earlier posts - Re: Error 5 from Acrobat Distiller - Cannot print to PDF
    Assuming by Error 5 that it is related to Access Denied problem:
    1. Clean up the contents of your %temp% folder.
    2. Give full permissions to the %temp% folder
    Try working with Acrobat after this.

  • Error Message using Acrobat Distiller

    Each time I try to take my Word document I converted to a PDF and changed to Postscript and open it in the Acrobat Distiller I get this error message:
    PDF/X Compliance Report
    1.  Bounding Boxes
       [Violation] Both TrimBoxes and ArtBoxes were found on the following pages:
       Violations: The total found in this section was 125.
    2.  Summary
       Warnings: The total found in this document was 0.
       Violations: The total found in this document was 125.
       This document does not pass PDF/X-1a:2001 compliance checks.
    </PDFX>
    %%[ Warning: Did not pass PDF/X compliance tests. No PDF file produced. ] %%
    Can someone tell me what I need to change in Acrobat to pass the PDF/X compilance test???
    Please.....

    This problem drove me crazy, but I finally (sort of) found the answer. To make a long story short, I eventually realized I had already gotten my file to be in the PDF/X-1a:2001 format even thought I was still getting the TrimBox error. So, my first advice is to go to File > Properties > Custom, and see if PDF/X-1a:2001 is already listed. If so, stop there because you are already good.
    If not, you need to run Preflight. Go to  View > Tools > Print Production. The menu will show up on the right-hand side. Choose Preflight. Go down to "Convert to PDF/X Compliance" and click it. Then click one of the "Convert PDF/X 1a" options (I don't know what the different options mean, so I just chose the first one). Then click the "Analyze and Fix" button at the bottom. It will prompt you to save this analyzed/fixed document as a different name. If you get any errors, google them and try to fix them. (I was able to figure a few small ones out. My second file didn't have any errors.) Run it again until it is fine.
    Here is the key. Go to File > Properties > Custom, and see if PDF/X-1a:2001 is listed. If so, you are good. The mistake I made was at this point to try again to print it to a PDF/X-1a:2001 and I was still getting that Trim Box Art Box error and driving myself crazy until I finally realized that I already had a PDF/X-1a:2001 file even though I was still getting that stupid error.

  • Exporting pdf "acrobat distiller printer description not found" ERROR!

    I just upgraded my g4 to tiger and I am running quark 5 on it. I can no longer export pdfs. I get an error saying "acrobat distiller printer description not found." I am stumped and I NEED to get this working!!
    Anybody who knows how to fix this please let me know!
    Thanks

    You may need to re-install Adobe Acrobat Pro, assuming you need the functionality of Acrobat to create PDFs. To create simple PDF's there is a PDF menu on every print dialog box that does not require the Distiller printer description file.

  • COM Interface Error Propagation from C++ to LV

    I have found that only error codes that are <0 (msb bit
    set) will propagate up to a LV error cluster from my automation interface.
    Is it possible, in accordance with the COM spec, to be able to pass error
    codes with a positive value up to LV?

    Good question. All LabVIEW errors are negative, so it may be carrying over this generalization when dealing with your COM server. I'm not sure if this would be the case. This is really a question for LabVIEW experts though, so I would post the question to the LabVIEW section of Developer's Exchange here so LabVIEW users can respond.
    Best Regards,
    Chris Matthews
    National Instruments

  • Adobe Acrobat 9 Pro Reinstallation Errors

    My hard drive crashed on my computer (replaced with new one) and I had to reinstall my Adobe CS5 and Adobe Acrobat 9 Pro. All of CS5 reinstalled fine. However, everytime I reinstall Adobe Acrobat 9 Pro, it errors every time. It will install, but whenever you open the program, it immediately stops working and errors out saying Adobe Acrobat 9.3 stopped working. Windows cannot find a solution and then closes. 
    It never gives me the chance to enter my product key or register the product. I went to the Adobe Product page and tried downloading and installing all the updates, but nothing works. No matter what I do it closes right away. Any ideas?
    My PC is on Windows 7 - I had to initially install Acrobat on this PC when I got it a year or so ago and it worked fine. Not sure what's changed.
    Thanks.

    I just tried reinstalling it - again, it wasnt giving me the option to register it or anything. Would close the minute I opened Acrobat.
    So I opened the Acrobat Distiller that installed with Acrobat and that asked me to accept the agreement and register the product. Once I did that - Acrobat started working again!

  • Acrobat Distiller.app can't be selected when printing to Adobe PDF 9.0

    When trying to print a word 2004 doc to Adobe PDF 9.0 ( using the Adobe PDF 9.0 option from the Printer drop-down list within the print dialog box - I have CS4 Design Premium installed including Acrobat Pro 9) I'm asked to locate my copy of Acrobat Distiller in a dialog box. I point it to the correct location. However Acrobat Distiller.app within folder Applications>Acrobat Pro 9 is greyed out and can't be selected. How do I get round this?

    Hello lisagig and welcome to Apple Discussions.
    I would be inclined to run a repair disk permissions first and if that doesn't help then I would reset your printing system. Note that this will remove all of your current printer queues so if you have a number of network printers in the list it would be handy to make a note of their network queue, which you will see via the Print & Fax > Options & Supplies > General pane shown as URL.
    To add the PDF printer queue back, you will need to make the Advanced icon appear in the Add Printer pane. To do this, open Print & Fax and click to Add a printer. Control Click on the current toolbar (next to More Printers will be fine) and select Customize Toolbar. Drag the Advanced icon to the toolbar. Now click the Advanced icon. After a few seconds this pane will become active so you can select the Adobe PDF 8.0 (pdf) in the Type column. Every other column will autofill so leave them as they are except for the Print Using menu, where you will have to open, click 'Select a driver to use' and then type Adobe in the search window. This should show the 'Adobe PDF 3016.102'. Select this and click Add to complete. Now try printing with this new Adobe printer to see if the error has stopped.
    Pahu

  • Acrobat Distiller has stopped working (not 30 day issue)

    I've been running CS6 on my Windows 7, 64 bit machine since at least October. I had the 30 day issue at the 30 day mark, but resolved it and it's worked flawlessly for months after that. Now,  I get an error message that says Acrobat Distiller has stopped working. My only option is to close that window. Acrobat continues to work to read, edit and save an already created  PDFs. Here are where I experience errors.
    I can create a new PDF within Acrobat.  If I click "Create PDF" then choose a Word Doc, it gives me at least two times the error message that Acrobat Distiller has stopped working. If I keep closing that message, eventually the pdf will have been created and will be in the Acrobat window and the file will be saved.
    I can't print to PDF at all. When I try from within Acrobat, I see a little window that says it's checking fonts, then the Distiller stopped working error message. When I try printing to pdf from other programs (have tried Word, Firefox), crashes.  It could be a one page document with just text, or something with pictures -  no go.  I just tested it again - now Acrobat is not responding.  I can't end the Acrobat process - have tried closing the window, and saying end process, tried ending Acrobat from within task manager, tried ending the acrobat and acrotray processes - multiple times in Task Manager and Acrobat won't close.
    I don't know how to fix this. I've checked to make sure Acrobat was updated; I've updated my Windows; I've reinstalled Acrobat.  Nothing fixes it. 
    When I run Acrobat Distiller, it freezes seemingly in the midst of checking fonts.   Here is the text of the problem details section of the error message I get:
    Problem Event Name:    InPageError  
    Error Status Code:    c000009c  
    Faulting Media Type:    00000003  
    OS Version:    6.1.7601.2.1.0.256.1  
    Locale ID:    1033  
    Additional Information 1:    0a9e  
    Additional Information 2:    0a9e372d3b4ad19135b953a78882e789  
    Additional Information 3:    0a9e  
    Additional Information 4:    0a9e372d3b4ad19135b953a78882e789
    Any advice?
    Roxy

    I think I may have fixed my problem...  I am no longer seeing the Distiller stopped working pop up and I am now able to print to PDF
    Win 7 Ultimate 64 bit
    My Fonts and program are all installed on the same drive  thus preventing me from gaining access to Distiller to change the settings. Windows would not let me make any changes to the Default Font folder.
    This is what I did...
    Not knowing which font(s) where causing the problem, I moved all but protected fonts (automatically labelled) from the Window's Font folder and placed them in a temporary folder.
    I restarted Distiller DC and great news...the program did not crash and I was able to change the settings to temporarily not include the Windows Fonts .No more pop ups and I can now print to PDF!
    What I am going to do..
    Through the process of elimination, I will gradually restore the fonts I removed from from the Window's folder to find the culprits(s)
    Once I am satisfied that the problem Font(s) are found and no longer  included in the Window's Font folder, I will change the settings in Distiller back (permanently) to include the Window's Font folder.
    In closing, and because so many others are having the same issues, I really do think it would be prudent for Adobe to make the necessary adjustments to their program(s) to prevent this kind of issue.
    Thanks
    Kathy

  • Adobe acrobat distiller has stopped working

    While trying to create pdf file from MS dynamics GP using adobe acrobat distiller 9.0, the following error message pops up
    Faulting application name: acrodist.exe, version: 9.0.0.332, time stamp: 0x4850b770
    Faulting module name: ntdll.dll, version: 6.1.7601.17725, time stamp: 0x4ec49b8f
    Exception code: 0xc0000005
    Fault offset: 0x00039084
    Faulting process id: 0x2270
    Faulting application start time: 0x01ce13efa9a708d0
    Faulting application path: D:\Program Files (x86)\Adobe\Acrobat 9.0\Acrobat\acrodist.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: e862e4c2-7fe2-11e2-99cf-0050561a5a49
    Enviroment Detail: Window Server 2008 R2 64bit ,Citrix XenApp 6.5, Acrobat distiller for windows
    Does anyone have any ideas?

    I am getting same message when I reboot the computer.  Any suggestions would be helpful.  The error began a couple/few months ago.
    The Message:
    Problem signature:
      Problem Event Name: APPCRASH
      Application Name: AcroDist.exe
      Application Version: 9.5.5.316
      Application Timestamp: 518a261e
      Fault Module Name: ntdll.dll
      Fault Module Version: 6.1.7601.18247
      Fault Module Timestamp: 521ea8e7
      Exception Code: c0000005
      Exception Offset: 0002e3be
      OS Version: 6.1.7601.2.1.0.256.48
      Locale ID: 1033
      Additional Information 1: 4c0d
      Additional Information 2: 4c0d4d78887f76d971d5d00f1f20a433
      Additional Information 3: 4c0d
      Additional Information 4: 4c0d4d78887f76d971d5d00f1f20a433

  • Adobe Acrobat Distiller 9 Problems

    Hi,
    New to the forum - hopefully someone can help me out. I have also tried the Adobe Forums, Quark Forums etc. etc. with no result - all are blaming Apple - so here I am. (Mod's please move this thread if it isn't in the right place).
    Specs first - Quark 8.12, Suitcase Fusion 13.2.1, Acrobat Distiller 9.2.0, Mac OSX 10.5.8.
    When I create pdfs from Quark (Indesign etc.) - I print them through the print dialogue box (using the acrobat PPD) - save them - and it prints like if it were going to a printer (output device) but creates a pdf. This is the way I have always done it and the way I want to continue to do it.
    What I am experiencing is that even though I have specified create "Low Resolution" or "Standard Resolution" pdfs it outputs/saves them as "High Resolution" Pdfs.
    The other day it was the opposite I specified "High" and it save a "Low Resolution" pdf.
    The high resolution pdfs seem to be extremely large also. Previously in Acrobat Distiller 7 a high resolution pdf file of one particular document I have was 50Mb in size, the same document distilled in Acrobat Distiller 9 gives my a 250Mb pdf file!!
    I am also experiencing unwanted rotation of pages with the pdf creation ie a landscape page is distilled (rotate) to a portrait page.
    I have tried deleting settings, creating new documents and pasting the information in, pdfing on other computers all with the same results.
    What I have found is that if I just use the default acrobat settings - standard, small, high quality etc. the files pdf fine and have expected file sizes etc.
    But as soon as I make a custom setting in distiller or use a 3rd party acrobat setting that's when the problem/s occur - large file sizes, rotated pages etc.
    What is also weird is if I turn "auto rotate pages" to "off" in acrobat distiller it will rotate the pages (a landscape but distills it to portrait) but if I choose one of the other settings like "individually" it pdfs OK in the right orientation.
    Anybody have any ideas of why Distiller (or whatever) freaks out when I change the settings?? (creates massive pdf files, rotates pages etc) I need to be able to make custom distiller settings for various newspapers, magazines etc.
    So just to recapp:
    Default Acrobat Distiller settings work but custom or 3rd party settings do not work in Acrobat Distiller. Nor do they "Stick/Stay" in the drop down menu when you select them like the default settings do - the menu defaults back to "default".
    I have upgraded to 9.2.0 - reset the printers - Uninstalled the software and reinstalled it all with the same result.
    Doesn't matter if I make a PS file etc and drop it onto distiller - still get the same outcome.
    Please Help!!
    Thanks

    Got Distiller to work. Seems the problem was with software activation/licensing. I got different software - and a free update to Acrobat 9 Extended - from my merchant and installed it. Distiller now does not crash anymore when starting it up and appears (thus far) stable.
    However, I still get an error message at start up:
    Adobe PostScript software version: 3018.101
    Adobe PDF Settings file read error in PDFX4 2008.joboptions:
    /CheckCompliance out of range
    A quick web search shows that this is also not a new problem. Some say that Distiller is not able to create PDF/X4 files and that the error is thus a bug in Distiller itself. Is that true? (I can't find a joboptions file of that name in my system ...)
    Do I need to do anything about it or can I just leave it?

  • Adobe Acrobat Distiller 9 crashes on start

    I recently bought a new notebook with Intel Pentium dual-core processor T3400 and Windows Vista Home Premium pre-installed.
    This weekend, I have been installing some software, including Adobe Acrobat 9 Pro and Adobe Photoshop CS4 Extended.
    Actually, I bought Adobe Acrobat 9 Pro just for having Acrobat Distiller (not: Distiller Server), to use in book publishing with Corel Ventura 10 and PostScript. The version I got is Acrobat Distiller 9.
    However, when I now start up Acrobat Distiller 9 it shows up for one or two seconds and then crashes (just vanishes from the screen without an error message).
    I found the same problem described for earlier versions of Distiller (in XP and Mac) in various online fora, but thus far I have not seen a solution described anywhere.
    It seems to be a common (and long-standing) problem, certainly there must be a fix?
    (I already uninstalled an reinstalled Adobe Acrobat 9 Pro and also tried "Repair Acrobat Installation" under "Help" in the programme. To no avail.)
    Let me know if you have an idea. Thanks.

    Got Distiller to work. Seems the problem was with software activation/licensing. I got different software - and a free update to Acrobat 9 Extended - from my merchant and installed it. Distiller now does not crash anymore when starting it up and appears (thus far) stable.
    However, I still get an error message at start up:
    Adobe PostScript software version: 3018.101
    Adobe PDF Settings file read error in PDFX4 2008.joboptions:
    /CheckCompliance out of range
    A quick web search shows that this is also not a new problem. Some say that Distiller is not able to create PDF/X4 files and that the error is thus a bug in Distiller itself. Is that true? (I can't find a joboptions file of that name in my system ...)
    Do I need to do anything about it or can I just leave it?

  • Adobe Acrobat Distiller Process. Issue with Font(L0420P not found, using courier)

    Hi Everybody,
    We are working for upgrade activities, which involves moving applications from Windows 2000 to Windows 2003 Servers.
    My applications uses Adobe Acrobat distiller, which is also getting upgraded along with the server from Adobe 4.0 to 5.0 (Installed licensed Adobe distiller).
    I have been using Adobe distiller to convert .PS files into .PDF files. The conversion process requires the PSFonts such as (MB006, L0B, L0420P etc..), each font got a separate PFB and PFM extension files, which are kept in the folder name called "Psfonts" and has been included in "Font location" under Distiller settings.
    Using Distiller( Adobe Acrobat distiller 4.0 ) in Windows 2000 didn't create any issues or error while converting .PS files into .PDF files, all the PDF files are generated by Distiller as expected and process without any Font issues.
    In Windows Server 2003, I installed Adobe Acrobat distiller 5.0 and moved the Font Folder "Psfonts" from older server(Windows 2000 server) to the new server(Windows 2003) and started Adobe Acrobat distiller process(5.0) to convert .PS to .PDF, most of the .PS files gets converted into .PDF files but when .PS files which require the Font L0420P comes in for Distilling, it displays an error message as "L0420P not found, using courier".
    I checked with the old Server's (Windows 2000) font folder (Psfonts), it has the same files(PFB and PFM) as present in the new Server(Windows 2003).
    I tried to check the Particular Font name(L0420P) in Distiller-->Setting-->Job options-->Font-->Embedding-->Psfonts, but L0420P font alone is missing in the List.
    Could you please help in resolving this Font issue.

    You may like to try deleting the PsFonts entry from distiller and closing it. Restart the machine, make the entry of PSFonts agina and try creating PDF.

  • Acrobat Distiller - PrinterJobControl

    Hello,
    I'm trying to output an Access report to PDF format. The report has some red in it. I'm using Acrobat Standard v.7 with Access2003.
    Although my report is created in PDF format and saved down, when I open it, all of the colour is missing and instead is just grey.
    Tks,
    My code is below:
    Public Sub PrintReportToAcrobat7(strReportName As String, strFileName As String, strErr As String)
    On Error GoTo PrintReportToAcrobat7_Error
    Dim sFileName As String
    sFileName = strFileName
    Set Application.Printer = Application.Printers("Adobe PDF")
    'Registry settings ...
    'Create the Registry Key where Acrobat looks for a file name
    CreateNewRegistryKey HKEY_CURRENT_USER, _
    "Software\Adobe\Acrobat Distiller\PrinterJobControl"
    'Put the output filename where Acrobat could find it
    SetRegistryValue HKEY_CURRENT_USER, _
    "Software\Adobe\Acrobat Distiller\PrinterJobControl", _
    Find_Exe_Name(CurrentDb.Name, CurrentDb.Name), _
    sFileName
    'Delete the file if it already exists
    If Dir(sFileName) <> "" Then Kill sFileName
    'On Error GoTo Err_handler
    DoCmd.OpenReport strReportName, acViewNormal 'Run the report
    While Len(Dir(sFileName)) = 0 ' Wait for the PDF to actually exist
    DoEvents
    Wend
    'Close down the reports
    DoCmd.Close acReport, strReportName, acSaveNo
    Set Application.Printer = Nothing
    PrintReportToAcrobat7_End:
    Exit Sub
    PrintReportToAcrobat7_Error:
    strErr = Err.Description
    Resume PrintReportToAcrobat7_End
    End Sub

    The key is HKEY_CURRENT_USER\Software\adobe\acrobat distiller\printerjobcontrol
    with the following:
    Name = c:\mfgtests\48-000055-001\48-000055-001.exe
    Type = REG_SZ
    Data = c:\mfgtests\48-000055-001\test.pdf
    c:\mfgtests\48-000055-0001 is the directory where the exe is located.  Test.pdf is the name of the file we want to created.

  • Acrobat Distiller, Excel, Adding a reference in VBA

    I have a snippet of VBA to generate a PDF through Excel. I expected to see "Acrobat Distiller" in the references under the menu option Tools/References in the Visual Basic editor. It's not there. Can anyone help?

    On the Macintosh, there is no OLE interface to Acrobat at all. The
    Acrobat SDK describes the different Macintosh interfaces.
    Aandi Inston

Maybe you are looking for

  • Loop fields in an internal table

    Dear experts, I have a scenario where I have an internal table (created in an end routine) c of felds that are both characteristics and key figures. I would like to do is to modify this table so that I keep the value of the charactersitics but I set

  • Help with re-formatting a PDF for easy printing by anyone?

    Hello, I used a template to create a new professional resume, and edited this template in Adobe Fireworks CS3.  It looks good now, but when I try and create a PDF with it, I can't seem to figure out how to make sure it will print properly on a 8.5x11

  • Why can't people click on anything on my website when using firefox. Every other browser works

    hi guys, so i have a website but people using firefox cant click on anything but the navigation at the top. check the website out on IE or safari or chrome then compare it to firefox anybody know why this is happening? thanks!

  • Painting swing elements when you�re treating and swing element events

    Hi, I need to repaint several swing elements while executing and action associated to another swing element event. I�ve seen in java doc that this is not posible because event-handling code and painting code executes on the event-dispatching thread.

  • Problem with really large numbers

    I'm quite new to java and I'm having a little trouble. I need to enter a REALLY large number into a long variable (long x = 0xAA55AA0000000000). However Java is giving me the error �integer number too large�. Does anyone know why this is happening or