carta
XpEndPage(3)

XpEndPage3

Indicates the end of a print page.

Usage

cc [flag ...] file ... -lXp [library ...]

void XpEndPage ( display )

Display *display;

Overview

XpEndPage signals the end of a print page, and causes window to be unmapped. All resulting page data is assembled and combined with data previously sent by XpPutDocumentData. No generation of document data will occur for rendering operations to the corresponding windows after XpEndPage is called.

For clients selecting XPPrintMask (see XpSelectInput), the event XPPrintNotify is generated with its detail field set to XPEndPageNotify when the X Print Server has completed XpEndPage.

Arguments

display

Specifies a pointer to the Display structure; returned from XOpenDisplay.

Diagnostics

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.

From libxp 1.0.4-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.