J2PrinterWorks is a Java 2 class library for printing Swing-based documents. Paginates any sequence of JTextPane, JTable, JTree, JList, JPanel, and/or Component instances (or subclasses) printed back-to-back. Features include headers/footers with multiple lines, rich text, images, date/time & page numbers, first & rest-of-pages control. Supports margins, % & fit-to-page scaling, orientation, centering, borders, page ejects. Includes 2 page zoomable customizable print preview, page setup dialog, print-to-Image, PDF, or HTML, background & silent printing, n-up printing, print progress events, and JDK 1.4+ features including printer discovery/selection, cross-platform dialogs, print-to-Postscript. Version 5.0 includes source code for multiple print, printer preview, and page setup dialogs to enable full customization for your applications.
Free to try
Windows Server 2008