Provides classes and interfaces for a general printing API. The API includes such features as:
- the ability to specify document types
- mechanisms for control of page setup and page formats
- the ability to manage job control dialogs
Interface Summary Interface Description PageableThe
Pageableimplementation represents a set of pages to be printed.
Printableinterface is implemented by the
Class Summary Class Description BookThe
Bookclass provides a representation of a document in which pages may have different page formats and page painters.
PageFormatclass describes the size and orientation of a page to be printed.
Paperclass describes the physical characteristics of a piece of paper.
PrinterJobclass is the principal class that controls printing.
Exception Summary Exception Description PrinterAbortExceptionThe
PrinterAbortExceptionclass is a subclass of
PrinterExceptionand is used to indicate that a user or application has terminated the print job while it was in the process of printing.
PrinterExceptionclass and its subclasses are used to indicate that an exceptional condition has occurred in the print system.
PrinterIOExceptionclass is a subclass of
PrinterExceptionand is used to indicate that an IO error of some sort has occurred while printing.