background image
X Version 11
Release 6.4
Protocols
3
PrintSetContext
context: PCONTEXT or None
Errors: XPBadContext
This request associates the context specified with all subsequent print operations for this client. If context is
None
, the print context previously associated with this client is unset. If no print context was previously set,
then no action is taken when None is specified.
The execution of the PrintSetContext request may affect the interpretation of the font path. The font path
contains font path elements for all printers associated with a print server. Only those associated with the cur-
rent print context are returned and used for print rendering.
PrintGetContext
context: PCONTEXT or None
This request returns the current print context for the connection.
PrintDestroyContext
context: PCONTEXT
Errors: XPBadContext
This request unsets and destroys a print context. If a print context is destroyed before print operations associ-
ated with it have been completed, the print server cancels all those operations as if a CancelJob request had
been issued.
PrintGetPrinterList
printer-name: STRING8
locale: STRING8
printers: LISTofPRINTER
where:
PRINTER:
name: STRING8
description: STRING8
This request retrieves a list of all printers supported on a print server.