background image
Functional specification
70
CDE/Motif PST
CDEnext
4.4
Xp Print Event Details & Structures
The following describes the Xp Print Events in detail.
4.4.1
XPNoEventMask
When no events are wanted.
4.4.2
XPPrintMask
Asks the Xp Print X-Server to send notice when calls to
XpStartPage
,
XpStartDoc
,
XpStartJob
,
XpEndPage
,
XpEndDoc
and
XpEndJob
have actually been processed and completed.
typedef struct
{
int
type;
/* base + XPPrintNotify */
unsigned long serial;
/* # of last req processed by server */
Bool
send_event; /* true if from a SendEvent request */
Display
*display;
/* Display the event was read from */
XPPrintContext context; /* print context where operation
was requested */
Bool
cancel;
/* was detailed event canceled */
int
detail;
/* XPStartJobNotify, XPEndJobNotify,
XPStartDocNotify, XPEndDocNotify,
XPStartPageNotify, XPEndPageNotify */
} XPPrintEvent;
4.4.3
XPAttributeMask
Asks the Xp Print X-Server to send notice when any of the print attribute stores maintained by the Xp Print X-
Server
change. The Xp Print X-Server may have initiated the changes to the attributes, or a call to
XpSetAttributes
may have made the changes.
typedef struct
{
int
type;
/* base + XPAttributeNotify */
unsigned long serial;
/* # of last req processed by server */
Bool
send_event; /* true if from a SendEvent request */
Display
*display;
/* Display the event was read from */
XPPrintContext context; /* print context where operation
was requested */
int
detail;
/* XPJobAttr, XPDocAttr, XPPageAttr,
XPPrinterAttr, XPServerAttr */
} XPAttributeEvent;