The Framework printing classes are located in the ilog.views.print package.
The architecture of this package is based on four main
components:
A configuration
document: The document containing the printing configuration.
The print
UI: Some specialized dialog boxes and interactors
that allow you to configure printing properties such as the page format,
the orientation, the header and footer, the number of pages, and so
on.
The printing
controller: A high-level class that manages the
document to print. You can use the printing controller to invoke the
Print dialog box or the Page Setup dialog box, to preview the document,
and to send the document to the selected printer.
There are three ways to print the contents of an IlvManager
object
in a document:
-
You can print a manager (or an area of a manager) in
multiple pages. Using the predefined document class
IlvManagerPrintableDocument, you simply have to specify the manager object you
want to print and some printing parameters such as the number of pages
and the area to print.
-
You can print a manager (or an area of a manager) in
a flow of text.
-
You can print a manager (or an area of a manager) in
a custom document structure. In this mode, you create your own document
and insert a printable object that represents a manager in a page.