7.12.6. Printing Attributes

The print service API contains a complex set of interfaces and classes to specify various kinds of attributes. There are four important groups of attributes. The first two specify requests to the printer.

Print request attributes request particular features for all doc objects in a print job, such as two-sided printing or the paper size.

Doc attributes are request attributes that apply only to a single doc object.

The other two attributes contain information about the printer and job status.

Print service attributes give information about the print service, such as the printer make and model or whether the printer is currently accepting jobs.

Print job attributes give information about the status of a particular ...

Get Core Java® Volume II—Advanced Features, Ninth Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.