|
JavaTM
Print Dialog Framework Demo
|
Welcome to the JavaTM Print Dialog Framework Demo!
The JPDF (Java Print Dialog Framework) is a collection of Java classes and resource files intended to be
used by Java software developers to provide a comprehensive Swing Component printing capability to Java
applications. The purpose of this Demo is to quickly acquaint you with the capabilities of the JPDF --
allowing you to evaluate the suitability of this framework for meeting the printing requirements of your
application.
Core Capabilities
The JPDF provides you with functionality that can be used without modification to add a comprehensive
Swing Component print capability to an existing application with very little coding. This includes
sophisticated Page Setup, Print Preview, and Print dialogs, and the ability to preview and print
the Java Swing GUI components in your application. Furthermore, because the JPDF is designed to be
extensible, it enables you to develop additional printing capabilities customized for the
specific needs of your application.
-
Print/Preview Swing Components:
The JPDF includes the ability to preview and print the GUI components that are part of Java Swing (e.g.
JTable, JTree, JTextPane, and so on). Specialized Page Setup dialogs are provided for each type of
component. For example, the Page Setup dialog for Tables allows you to specify whether the table
should be printed with vertical and/or horizontal grid lines, with the column headers repeated on
every page, with the selected table cells highlighted, and so on. This GUI component print/preview
capability employs robust pagination functionality which allows components to be printed on multiple
pages across and down. This pagination functionality ensures that the material to
be printed is attractively segmented onto the pages. Thus, for example, when printing a table the JPDF
ensures that table rows are not bisected at the bottom page margin (table columns can optionally by bisected
or not bisected at the right page margin).
-
Preview Capability:
The JPDF provides a Print Preview capability allowing the end-user of your application to preview
the material to be printed. The JPDF Preview Dialog provides the end-user of your application with a
many capabilities to configure the display for optimal viewing. From within this preview dialog the
user can navigate through the pages to be printed, zoom the display to an appropriate magnification scale,
change the Page Setup parameters (e.g. paper size, margins, headers/footers, and so on), and print the
previewed material.
-
Custom Print Attributes:
The JPDF provides a large number of Print Attributes in addition to those provided in the JRE. These
Custom Print Attributes allow you to specify the contents of page headers/footers, page framing, scaling
of the material to be printed (this is independent of the Preview Zooming), and many attributes specific to the
type of material being printed.
-
Print Job Management:
The JPDF provides a Print Job management facility. All Print Jobs are executed on a background thread. This
allows the end-user to continue working while the Print Job is being processed in the background. The status
of the Print Job can be monitored while it is executing. The end-user can optionally be informed of the Job's
progress as each page is printed, and/or the end-user can be informed when the Job has completed.
You can optionally allow the end-user to cancel the Print Job before it has completed.
-
Localization Capability:
The JPDF provides localization capabilities. All labels and messages displayed by the JPDF dialogs come
from property files (these are text files that you can edit). Separate property files are provided for
different languages (currently only English and Spanish). You as the application developer can select the
language or you can allow the end-user to do so. Units of measure used in the dialogs can be expressed as
Inches or Millimeters -- as appropriate to the chosen locale or independent of the locale.
System Requirements
The JPDF requires that JRE version 1.4.2 or later be used.
The system on which the JPDF is run must have at least one printer defined on it -- this can be
a locally attached or networked printer. The JPDF has been tested under the following environments:
Purchasing
A JPDF license can be purchased on the Soft Frame Works web site at
www.softframeworks.com. Pricing and licensing details are available on the web site.
Questions
We encourage your to send us an email if you have any questions about this Demo or the JPDF in general.
Technical questions should be addressed to tech_support@softframeworks.com.
Purchasing questions should be addressed to sales@softframeworks.com.