Chapter 9 Print Package
The Print Package
The Print package provides a layer of abstraction on top of the Windows printing API, in addition to providing the structure for adding print and print preview support to applications. The primary abstractions involved in printing include:
*Print jobs. Control the rendering of printable objects to documents.
*Printable objects. Implement the IPrintable interface, which contains methods for printing the object one page at a time to a document.
*Document objects. Provide an interface for rendering output to a printer device or file.
*Printer configuration. Assigned by the document; used to open the printer and get a device context for printing.