background image
Table of Contents
1
X Print Service Overview ......................................................................................................................... 1
1.1 X Print Service Core Components.................................................................................................... 1
1.2 X Print Service Key Concepts .......................................................................................................... 2
1.3 The Developer's/Integrator's View .................................................................................................. 3
1.4 The Printer Vendor's View............................................................................................................... 5
1.5 The System Administrator's View ................................................................................................... 5
2
X Print Service Extension Library............................................................................................................ 7
2.1 Dependencies .................................................................................................................................... 7
2.2 Library Calls ..................................................................................................................................... 7
2.2.1
Creating and Managing Print Contexts................................................................................. 8
2.2.2
Obtaining the Screen for a Print Context............................................................................ 10
2.2.3
Obtaining Page Dimensions ............................................................................................... 10
2.2.4
Starting, Ending, and Canceling Jobs ................................................................................. 12
2.2.5
Starting, Ending, and Canceling Documents ...................................................................... 13
2.2.6
Getting and Putting Data into Documents .......................................................................... 15
2.2.7
Starting, Ending, and Canceling Pages............................................................................... 18
2.2.8
Selecting Input .................................................................................................................... 19
2.2.9
Getting and Setting Attributes ............................................................................................ 20
2.2.10 Getting Printer Lists............................................................................................................ 23
2.2.11 Querying Version, Extension, and Screen .......................................................................... 24
2.2.12 Getting PDM Parameters .................................................................................................... 25
2.2.13 Setting and Getting Locale Hinters..................................................................................... 26