background image
10
December 15, 1997
Protocols
10
Protocols
Release 6.4
X Version 11
This request sets the names and values for one or more attributes within the specified attribute pool.
attributes is encoded in COMPOUND_TEXT that represents new name/value pairs according to the value
specified in rule. For XPAttrReplace, the existing attribute pool is discarded and replaced with attributes.
For XPAttrMerge, attributes is merged into the existing attribute pool; existing name/value pairs are
replaced and new ones are added.
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.
A Match message is returned if read-only attribute pools attempt to use PrintSetAttributes. An XPBadSe-
quence
message is issued when a request is sent to an attribute pool at a time when the attribute pool cannot
be modified.
PrintRehashPrinterList
This request causes the print server to update its list of available printers together with their attributes. The
print facilities underlying X Server may provide it with the ability to detect changes in printer topology and
dynamically update the list to reflect the changes. If X Server does not have this capability, the PrintRe-
hashPrinterList
must be used to notify it of changes.
PrintQueryVersion
major-version, minor-version: CARD16
This request returns the major and minor version numbers of the X Print Service.
PrintQueryScreens
roots: LISTofWINDOW
This request returns a list of the X Server screens that support the X Print Service Extension.
PrintSetImageResolution
context: PCONTEXT
image-resolution: CARD16