Adobe PDF Library

Printing PDF Files, and Generating Postscript (PS) Files from PDF

PrintPDF

View Sample Code

Run this program to automatically send a PDF file to a printer.  The program will prompt you for the PDF file name, and then it will send the PDF file to the default printer assigned to the computer you are using.  This program is useful in that it identifies the API you need to use to print PDF files.

The program also generates a Postscript (PS) out file.  If you open it, the Adobe PDF Distiller will run and automatically generate a PDF output file from the PS file.  This file will match the PDF file you entered to print.

PrintPDFGUI

View Sample Code

This is similar to the PrintPDF program, except that it opens a User Interface, where you can type in the name of a PDF file to print.

PrintPDFGUI1

Enter the file name and click Print PDF.

PrintPDFGUI2

Click OK to send the document to your printer.

PrintPDFGUI3

The program also generates a Postscript (PS) out file.  If you open it, the Adobe PDF Distiller will run and automatically generate a PDF output file from the PS file.  This file will match the PDF file you entered to print.