当前页面:
在线文档首页 >
JDK 5 Documentation v6.0, Java 2 SDK 英文文档
Java Print Service API User Guide: 4 - Printing and Streaming Documents - JDK 5 Documentation v6.0, Java 2 SDK 英文文档
Printing and Streaming Documents
Before submitting a print job, an application needs to locate print services that have the capability to handle the print data. Once the appropriate service is located, the application obtains a print job from it and submits the print job to the service.
This chapter demonstrates how to print and stream documents by:
-
Locating appropriate services using the elements presented in the two previous chapters: Attributes and Document Flavors
-
Creating a print job
-
Submitting the print job to the printer or service
-
Registering for events on the print job or service.
CONTENTS |
PREV
|
NEXT
Copyright © 2001 Sun Microsystems, Inc. All Rights Reserved.