XpEndPage(3Xp)
π XpEndPage(3Xp) β literally the "we're done with this page" era
okay bestie, welcome to the XPRINT FUNCTIONS section of the manual, and today's main character is XpEndPage β¨ this one is short and sweet, no cap.
πΈ NAME πΈ
XpEndPage β signals that a print page is over, like when you finally hit "done" on a photo dump πΈ
π¦ SYNOPSIS π¦
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
void XpEndPage ( display )
Display *display;
π DESCRIPTION π
okay so XpEndPage signals the end of a print page, and it causes window to be unmapped. that's the whole vibe. π«Ά
all the resulting page data gets assembled and combined with data you previously sent over with XpPutDocumentData. and listen β after XpEndPage is called, there will be no generation of document data for rendering operations to the corresponding windows. like, that window is clocked out, periodt. π
and for clients selecting XPPrintMask (peep XpSelectInput for that), the event XPPrintNotify is generated with its detail field set to XPEndPageNotify β and that happens when the X Print Server has completed XpEndPage. so you get the lil confirmation notification, iconic behavior honestly π
π ARGUMENTS π
displayβ specifies a pointer to theDisplaystructure; this is the one you got back fromXOpenDisplay. don't lose it bestie π
π₯ DIAGNOSTICS π₯
XPBadSequenceβ the function was not called in the proper order with respect to the other X Print Service Extension calls. example of the mess:XpStartPagewas called beforeXpStartJob, or was called for a typeXPDocRawdocument. sequence matters, queen, this is not a free-for-all π
π SEE ALSO π
XpPutDocumentData.(3Xp)XpSelectInput(3Xp)XpStartPage(3Xp)
ngl the vibes here are "you started the page, now finish it" β order matters or the X Print Server will absolutely call you out with XPBadSequence π
that's the whole page, go be great π¦
X Version 11, libXp 1.0.4 β mwah, that's a wrap, xoxo ππ
π¦ 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