Query: xpcanceldoc
OS: x11r4
Section: 3xp
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
XpCancelDoc(3Xp) XPRINT FUNCTIONS XpCancelDoc(3Xp)NAMEXpCancelDoc - Cancels a print document.SYNOPSISvoid XpCancelDoc ( display, discard ) Display *display; Bool discard;ARGUMENTSdisplay Specifies a pointer to the Display structure; returned from XOpenDisplay. discard When TRUE, specifies that all XPPrintNotify events with a detail of XPEndPageNotify or XPEndDocNotify should be discarded.DESCRIPTIONXpCancelDoc cancels an in-progress document. If the job was started with output_mode XPGetData then the data stream to XpGetDocumentData is interrupted; no further data for the current document will be generated but data for subsequent documents can be generated. For many page description languages such arbitrary termination may invalidate the output. If the job was started with output_mode XPSpool then depending on the driver and spooler implementation the entire document may be canceled or a partial document may be generated. If discard is True all XPPrintNotify events with a detail field of XPEndPageNotify or XPEndDocNotify are discarded before XpCancelDoc returns. For clients selecting XPPrintMask (see XpSelectInput), the event XPPrintNotify will be generated with its detail field set to XPEndDocNo- tify.DIAGNOSTICSXPBadContext A valid print context-id has not been set prior to making this call. XPBadSequence The function was not called in the proper order with respect to the other X Print Service Extension calls (example, XpEndDoc prior to XpStartDoc).SEE ALSOXpEndDoc(3Xp), XpGetDocumentData(3Xp), XpSelectInput(3Xp), XpStartDoc(3Xp) X Version 11 libXp 1.0.0 XpCancelDoc(3Xp)
Related Man Pages |
---|
xpcancelpage(3xp) - debian |
xpendjob(3xp) - debian |
xpstartdoc(3xp) - x11r4 |
xpcanceldoc(3xp) - suse |
xpendjob(3xp) - suse |
Similar Topics in the Unix Linux Community |
---|
freeware to document your IT infrastructure for unix |