Many Web applications need to provide means to print documents that they generate.
Printing documents is a task that can be implemented in ways that depend on the device into which the documents are printed, and also on the operating system in use.
This class provides an abstract interface that separates the generation of document printing data from the actual printing process. Many drivers can be developed to support different types of printing processes.
This package provides an abstract interface for printing documents.
Currently the package includes one implemented class that allows printing of basic text or preformatted (.prn) document files using the LPR protocol
The data to be sent to the printer can be either a filename or a string.
The driver interface provides hooks in the code to allow development of printer filters (drivers). Other driver classes can be developed to implement custom printer filtering like for instance to send documents to Postscript printers.