Please choose a menu option
Visit the IDRsolutions WebSite

Automated PDF printing

Description Provide automated PDF printing
Jar Path org.jpedal.examples.printing.SilentPrint

Click for source code link

How to run the code

Windows: java -cp jpedal.jar org/jpedal/examples/printing/SilentPrint file.pdf MyPrinter
MacOS X Linux: java -cp jpedal.jar org/jpedal/examples/printing/SilentPrint file.pdf MyPrinter

Click here for help on running Java programs from the command line

 

An explanation of the command line parameters

The SilentPrinter now takes 2 parameters (file or directory and name of printer). If printer is invalid, a message will be returned with a list of values which can be used.

Other details/screenshot

The example also includes documented Java code showing some of the printing features (media, tray, etc) that can be used.

 

Links to related articles

Getting started tutorial
Additional optional libraries lists items which may be needed for some PDF files or functionality.
JVM options available on startup which can customise memory usage, image quality and lots of other settings.
Java PDF viewer example
custom printDialog with access to all the PDF print functionality.
PDF Print tutorial explains how PDF printing works.

 

Return to main PDF support section

Click here for the main PDF support area with lots of java examples, PDF tutorials and useful information to get the most out of the JPedal PDF library

 


PDF viewer