XpEndDoc(3Xp)
okay so you clicked on the XpEndDoc(3Xp) page, and honestly? iconic. This is the XPRINT FUNCTIONS manual page, and weβre gonna get you from βwhat is thisβ to βperiodt, I understandβ without losing a single detail. π
β¨ NAME β¨
XpEndDoc β Indicates the ending of a print document.
πΈ SYNOPSIS πΈ
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
void XpEndDoc ( display )
Display *display;
π¦ ARGUMENTS π¦
displayβ Specifies a pointer to theDisplaystructure; returned fromXOpenDisplay.
π DESCRIPTION π
okay so XpEndDoc signals the end of a print document. Thatβs the main-character move: it says the doc is done. β¨
All resulting document data is assembled and combined with data previously sent by XpPutDocumentData. So the data you already sent gets gathered up and combined, no cap. π«Ά
For clients selecting XPPrintMask (see XpSelectInput), the event XPPrintNotify is generated with its detail field set to XPEndDocNotify. The way that detail field is literally XPEndDocNotify? obsessed. π
π₯ DIAGNOSTICS π₯
XPBadContextβ A valid print context-id has not been set prior to making this call. So if thereβs no valid print context-id set before you call it, thatβs the vibe check failing. πXPBadSequenceβ The function was not called in the proper order with respect to the other X Print Service Extension calls. (Example,XpEndDocprior toXpStartDoc). Like, order matters bestie βXpEndDocbeforeXpStartDocis the example of doing it out of sequence. π
π SEE ALSO π
XpPutDocumentData(3Xp)XpSelectInput(3Xp)XpStartDoc(3Xp)
<cute>bye bestie</cute> π this page is X Version 11, libXp 1.0.4, XpEndDoc(3Xp) β slay and stay hydrated π
π¦ 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