Print objects include spooled files, output queues, printers, printer files, writer jobs, and Advanced Function Printing™ (AFP™) resources, which include fonts, form definitions, overlays, page definitions, and page segments. AFP resources are accessible only on Version 3 Release 7 (V3R7) and later versions of i5/OS™. (Trying to open an AFPResourceList to a system that is running an earlier version than V3R7 generates a RequestNotSupportedException exception.)
The IBM® Toolbox for Java™ classes for print objects are organized on a base class, PrintObject, and on a subclass for each of the six types of print objects. The base class contains the methods and attributes common to all server print objects. The subclasses contain methods and attributes specific to each subtype.
Use the print classes for the following tasks: