X Version 11
Release 6.4
Protocols
9
This request queries which X Print Server events the client has selected to receive from the specified print
context. all-events-mask returns the set of all events selected by all clients.
PrintGetAttributes
context: PCONTEXT
pool: {XPJobAttr, XPDocAttr, XPPageAttr, XPPrinterAttr, XPServerAttr}
attributes: STRING8
Errors: XPBadContext, Value
This request returns an attribute pool from the specified print context. attributes is the attribute pool specified
by pool, and is encoded in COMPOUND_TEXT.
The format used for attributes is the same as the format used for an X resource file. For a description see
Section 15.1, "Resource File Syntax", in the Xlib specification.
See section 3 for a detailed description of attributes.
PrintGetOneAttribute
context: PCONTEXT
pool: {XPJobAttr, XPDocAttr, XPPageAttr, XPPrinterAttr, XPServerAttr}
name: STRING8
value: STRING8
Errors: XPBadContext, Value
This request retrieves a single attribute from the specified print context. It is similar to PrintGetAttributes,
but returns only one attribute value instead of an entire pool of attributes. The specific attribute is specified
by name. value is encoded in COMPOUND_TEXT.
PrintSetAttributes
context: PCONTEXT
pool: {XPJobAttr, XPDocAttr, XPPageAttr, XPPrinterAttr, XPServerAttr}
rule: {XPAttrMerge, XPAttrReplace}
attributes: STRING8
Errors: XPBadContext, XPBadSequence, Value, Match