Skip to main content
Participant
March 27, 2025
Question

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

  • March 27, 2025
  • 1 reply
  • 216 views

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
March 27, 2025

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. 

 

 

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