8
December 15, 1997
Protocols
8
Protocols
Release 6.4
X Version 11
PrintGetPageDimensions
context: PCONTEXT
width: CARD16
height: CARD16
offset-x: CARD16
offset-y: CARD16
reproducible-width: CARD16
reproducible-height: CARD16
Errors: XPBadContext
This request returns the total width and height of a page in pixels, together with the net reproducible area
within the page. The net reproducible area is the portion of the page on which the printer is physically capa-
ble of placing ink.
PrintSelectInput
context: PCONTEXT
event-mask: BITMASK
Errors: XPBadContext, Value
This request specifies the print events, from those in the specified print context, the client is interested in.
Possible values for the event-mask BITMASK are:
·
XPNoEventMask
·
XPPrintMask
·
XPAttributeMask
PrintInputSelected
context: PCONTEXT
event-mask, all-events-mask: BITMASK
Errors: XPBadContext