O'Reilly logo

Core Java® Volume II—Advanced Features, Ninth Edition by Gary Cornell, Cay S. Horstmann

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required