In the document (DistillerAPIReference.pdf) in the (Adobe Acrobat 7.0.5 SDK ) there is this section witch describe turned off Prompting for fiel name programmatically :
Prompting can be turned off programmatically by modifying the Windows registry. This method applies to the creation of only one PDF document by a specific application for the current user. To do this, entries are added under the Windows registry key:
HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\PrinterJobControl
This key takes as subkeys:
(Default)application
The (Default) entry is reserved for possible future use and should not be used. The application subkey is the full path of the application that is to have prompting turned off. The value of the application subkey is a REG_SZ value that is the full path of the output file. For example, the following registry script would turn off prompting for the next printing performed by wordpad.exe, printing to the file c:\MyPDFoutputFileName.pdf:
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Adobe\Acrobat Distiller\PrinterJobControl]"C:\Program Files\Windows NT\Accessories\wordpad.exe" = "c:\MyPDFoutputFileName.pdf"
I tried to do it manually and it's not working, could any one provide me with an example so I can use this feature in my program.
Also, you will need to programatically make this registry change each time you print.
And lastly, you might want to reread the Acrobat EULA - especially the areas regarding servers and networks if this app will be used in those environments.
Good luck.
Douglas Hanna is a member of the Production Print Technology team at Aon.
www.aonhewitt.com