These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How do I prevent PDF from displaying after creation in Adobe Reader 9?

mb2b
Registered: Jul 23 2010
Posts: 7
Answered

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.!

My Product Information:
Acrobat Standard 9.0, Windows
mb2b
Registered: Jul 23 2010
Posts: 7
Any luck?
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
You have to look at how you are creating the PDFs. Distiller, PDF Printer, PDF Maker in MS Office, and Convert Web Page to PDF all have an option to open the created PDF in the UI for the conversion. You need to disable that option in the service that is creating the PDF.

George Kaiser

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4307
How specifically are you creating the PDF?

Distiller: Open Distiller, "File => Preferences", uncheck "View PDF when using Distiller".
PDF Printer: Open "PDF Printer", "Printer => Preferences", click "Printing Preferences..." button, uncheck "View Adobe PDF Results".
PDF Maker (MS Office): "Adobe PDF => Change Conversion Settings" uncheck "View Adobe PDF results".
Web Capture in Browser: "Preferences" uncheck "Open PDF files after conversion.

Adobe recommends not have Acrobat and Reader installed on the same unit and also recommends against mulitple versions on the same system.

I am not sure how to create PDFs form Adobe Reader.

George Kaiser

mb2b
Registered: Jul 23 2010
Posts: 7
Thank you very much ..... I was printing from Delphi .. using a third pary report generator, QuickReports. I set the printer to "Adobe PDF" .... and then issued a QuickReports.Print.

So I went into my windows printer setup, and selected "Adobe PDF" printer and unchecked "View Adobe PDF Results" .. and that did the trick.

RELIEF!!!!!!!!!!!!!

Out of curiosity .. is it possible to programatically uncheck this setting for the "Adobe PDF" printer? .. No biggie! ... Thanks again very much.. you made my weekend! ... now I have to honor my part of the deal and provide the coffee :)
Registered: Feb 11 2010
Posts: 3
This works great in Windows XP. However, we just upgraded to Windows 7 and this solution no longer works. We are now getting the "Save As" dialog box again and can't figure out how to suppress it. What do we need to change in order for this to work in Windows 7?