Printing PDF tutorial
Printing PDF files is built into JPedal. Java offers a printing solution called Java Printing Services. JPedal supports this using both the Pageable (not 1.3) and Printable interfaces (but it does not currently support the Book object). We recommend the Pageable mode wherever possible as it is more robust.
What can it do?
Print PDF files as high quality output both with or without user interaction. It offers all the PDF print modes available in Acrobat (there are over 50 combinations).
- Client PDF printing with user-selectable options
- Server PDF printing with no user intervention
- Optimisations for PCL printers
- Define multiple page sizes
- Multiple scaling options (no scaling, rotate and fit to page, scale to paper size)
- Print ranges of PDF pages, only odd, only even pages
- Standard Java printing dialog or custom 'Acrobat-style' PDF print dialog
- Modes to use Java fonts for standard fonts to speed-up PDF printing and improve quality on low resolution devices.
- Replace PDF form components in printing with your own customised version
Related links
SimpleViewer examplealso includes code for PDF printing and contains a custom printDialog with access to all the PDF print functionality.
SilentPrint example provides example java code for serverside PDF printing.
Java Print tutorial written by Sun as general introduction
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




