SetRegistryData(HKEY_CURRENT_USER,
'Software\Adobe\Acrobat Distiller\PrinterJobControl',
'c:\myApp\myApp.exe', rdString, 'c:\temp\myPDFOutput.pdf' );
In my Delphi App I am successfully able to suppress the SaveAs dialog and print my report directly to a file. Great! However Adobe displays the report automatically. This is a big problem .. because I am trying to combine several hundreds of PDFs into one single file .... and Adobe opens each one .. which is like a "pop-up" disaster!
I saw in earlier Adobe versions (4 and perhaps 5) where you set bExecViewer=0 in the registry as well ... but it does not work in later versions. I have Adobe Acrobat 6.0 Standard, Adobe Distiller 6.0,
Adobe Reader 9 recently.
What Registry setting will prevent the display of the PDF? I struggled to prevent the SaveAs dialog .. and was very happy to resolve that ... now I am faced with suppressing the display .....
The coffee will be on me if anyone can help :) ..... Thanks.!