XpStartPage(3Xp)
π XpStartPage β XPRINT FUNCTIONS π
okay so bestie, welcome to the XpStartPage(3Xp) page β the XPRINT FUNCTIONS girlies are here to explain how you tell the universe that a print page is starting. slay β¨
β¨ 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β a pointer to theDisplaystructure; you get it back fromXOpenDisplay. iykyk πwindowβ the window ID. πͺ
πΈ DESCRIPTION πΈ
XpStartPage signals the beginning of a new print page, with window serving as the drawable representing the page. main character energy β¨
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. periodt.
XpStartPage causes window to be mapped. See XpGetPageDimensions and XResizeWindow for details on resizing window to the size of the media selected prior to calling XpStartPage. the way that works π¦
π¨ undefined-results alert: within theXpStartPageandXpEndPagesequence, attempts to resize, move or unmapwindowwill yield undefined results.
To resize or move inferiors of window, the standard semantics of ConfigureWindow apply, except that the contents of any configured window may be discarded. An Expose event will be generated if a windowβs contents are discarded. π
All changes to the XPPageAttr attribute pool (see XpSetAttributes) must be made prior to calling XpStartPage, after which an XPBadSequence error will be generated if changes are attempted, until XpEndPage is called. no cap π«Ά
For clients selecting XPPrintMask (see XpSelectInput), the event XPPrintNotify will be generated with its detail field set to XPStartPageNotify when the X Print Server has completed XpStartPage. If the event Expose is also selected for (see XSelectInput), the exposure events will be generated prior to XPPrintNotify. π
The client need not wait for XPStartPageNotify prior to calling any other X rendering routines. we love an independent queen π
π DIAGNOSTICS π
BadWindowβ the value specified forwindowis 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,XpStartPagewas called beforeXpStartJobor was called for a typeXPDocRawdocument. π
π SEE ALSO π
XpEndPage(3Xp)XpGetPageDimensions(3Xp)XpSelectInput(3Xp)XpSetAttributes(3Xp)
Thatβs the whole cute saga, bestie β XpStartPage(3Xp) ships with X Version 11, libXp 1.0.4, and the footer doesnβt have a date, so hereβs your sparkly sign-off instead: you ate this manpage, no notes πβ¨π
π¦ where this page comes from
- arch rolling: libxp 1.0.4-3 Β· X11 AND X11-distribute-modifications-variant
- nixos 26.05: libxp 1.0.4
- nixpkgs unstable: libxp 1.0.4
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- opensuse-leap 16.0: libXp-devel 1.0.4-bp160.1.12 Β· MIT
- Copyright 1996 Hewlett-Packard Company
- Copyright 1996 International Business Machines Corp
- Copyright 1996, 1999, 2004, Oracle and/or its affiliates. All rights reserved
- Copyright 1996 Novell, Inc
- Copyright 1996 Digital Equipment Corp
- Copyright 1996 Fujitsu Limited
- Copyright 1996 Hitachi, Ltd
- Copyright 1996 X Consortium, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms