table of contents
other versions
XpStartPage(3Xp) | XPRINT FUNCTIONS | XpStartPage(3Xp) |
NAME¶
XpStartPage - Indicates the beginning of a print page.SYNOPSIS¶
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h> void XpStartPage ( display, window )
Display * display;
Window window;
ARGUMENTS¶
- display
- Specifies a pointer to the Display structure; returned from XOpenDisplay.
- window
- Specifies the window ID.
DESCRIPTION¶
XpStartPage signals the beginning of a new print page, with window serving as the drawable representing the page. window is required to be a descendant of the root window of the current print context window, else a BadWindow is generated. No generation of document data will occur for rendering operations against window or its inferiors prior to XpStartPage.DIAGNOSTICS¶
- BadWindow
- The value specified for window is not valid.
- XPBadContext
- 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; for example, XpStartPage was called before XpStartJob or was called for a type XPDocRaw document.
SEE ALSO¶
XpEndPage(3Xp), XpGetPageDimensions(3Xp), XpSelectInput(3Xp), XpSetAttributes(3Xp)libXp 1.0.0 | X Version 11 |