Skip navigation
synergeys2012
Currently Being Moderated

How to programmatically disable prompts for output file names in Acrobat X

Aug 17, 2012 3:03 PM

Tags: #acrobat_sdk #acrobat_distiller_x #disable_prompt_for_output_file_name

My code to programmatically disable output file names (below) is not working on a Windows 7 64-bit machine using Acrobat Distiller X.  It works perfectly on a Windows XP machine with Acrobat Distiller 8.

 

The latest API Reference I was able to find is dated June 2008.  My logic follows this convention.

 

I have confirmed that the registry key is updated as specified below.  I have also confirmed that I am able to write to the directory indicated.

 

Please provide any suggestions to resolve. 

 

Thank You!

~Lori

 

---------------------------------------------------------------------- -----------------------

 

'Create the Registry Key where Acrobat looks for a file name
        CreateNewRegistryKey HKEY_CURRENT_USER, _
                     "Software\Adobe\Acrobat Distiller\PrinterJobControl"

 

'Put the output filename (FilePath) where Acrobat could find it
        SetRegistryValue HKEY_CURRENT_USER, _
                 "Software\Adobe\Acrobat Distiller\PrinterJobControl", _
                 C:\Program Files (x86)\Microsoft Office\Office12\MSACCESS.EXE, _

                 T:\PDF Files\Current Week\NFS_Lori,Test.pdf
                

 
Replies
  • Currently Being Moderated
    Aug 17, 2012 3:57 PM   in reply to synergeys2012

    I don’t recall the details, but it’s a registry thing.  The 64bit registry is differnet.

     

    Do a search online, this has come up many times…

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 18, 2012 9:26 AM   in reply to lrosenth

    I remember seeing that the problem is thunking. A little more specifically, because it's a 32-bit driver but a 64-bit executable, there's a 32-bit system spooler process which will always show up as the EXE name.

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2012 6:16 PM   in reply to synergeys2012

    try creating your registry key in

     

    Software\Wow6432Node\Adobe\Acrobat Distiller\PrinterJobControl

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points