English | 日本
PDF Java
Shopping CartContact Us

How to print PDF to PDF?

Last Updated: 3/13/2014

BCL easyPDF SDK does not officially support Printing a PDF to a new PDF, however it is possible. You can print a PDF simply by using Printer.PrintJob.PrintOut(), however there are some issues with Printing PDFs. Specifically, the Printing will fail if an instance of Adobe Reader or Adobe Acrobat is currently open and running.  Our SDK needs to open Adobe Reader in order to print the file, and because of the way Adobe Reader is programmed it does not respond to our SDK attempting to close the instance of Reader. If you intend to print multiple PDF files to PDF, you will need to close all of the Reader Processes opened by the previous conversion before you start on the next one.

For C#, this is relatively simple, and uses the following code:

Process[] processes = Process.GetProcessesByName("AcroRd32");
foreach (Process proc in processes)

PDF SDK Knowledgebase
© 1993 - , BCL Technologies.
All other trademarks are the property of their respective owners.