X Version 11
Release 6.4
X Print Service Extension Library
7
2
X Print Service Extension Library
These functions provide access to the X Print Protocol Extension to X. In addition, some convenience func-
tions over the X Print Extension Protocol and core X Protocol are provided which make it easier for an
application programmer to use the X Print Service.
The X Print Service Extension Library concentrates on print job, document and page management. It
includes the following calls:
·
XpCreateContext
·
XpSetContext
·
XpGetContext
·
XpDestroyContext
·
XpGetScreenOfContext
·
XpGetPageDimensions
·
XpStartJob
·
XpEndJob
·
XpCancelJob
·
XpStartDoc
·
XpEndDoc
·
XpCancelDoc
·
XpPutDocumentData
·
XpGetDocumentData
·
XpStartPage
·
XpEndPage
·
XpCancelPage
·
XpSelectInput
·
XpInputSelected
·
XpGetAttributes
·
XpSetAttributes
·
XpGetOneAttribute
·
XpGetPrinterList
·
XpFreePrinterList - convenience routine
·
XpRehashPrinterList
·
XpQueryVersion
·
XpQueryExtension - convenience routine
·
XpQueryScreens
·
XpGetPdmStartParams - convenience routine
·
XpSetLocaleHinter
·
XpGetLocaleHinter
2.1
Dependencies
The X Print Service is an extension to the core X protocol, and cannot be used outside of the X environment.
2.2
Library Calls
The header file
X11/extensions/Print.h contains prototypes for the following routines.