Skip to main content
Participant
Mar 27, 2025 4:19 AM UTC
Question

Adobe SDK: C++ code snippet and header for printing the file silently

I am trying to print the pdf files using the Adobe PDF Virtual printer in windows with some options on page size and resolution and then save the document. I want to do this silently without opening the Adobe acrobat program. Can you please provide a sample C++ snippet and header files which works with Adobe SDK to cater to this requirement.

Thanks in Advance.

1 reply

Thom Parker
Community Expert
Community Expert
Mar 27, 2025 5:23 PM UTC

Do you mean the Print to PDF option inside Acrobat?  Or do you mean Distiller?

You can find some info on Distiller here:

https://helpx.adobe.com/acrobat/using/creating-pdfs-acrobat-distiller.html

 

It can also be run programatically in a few different ways. For example, an easy method is from the command line. 

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often