XpDestroyContext(3Xp) XPRINT FUNCTIONS XpDestroyContext(3Xp)NAMEXpDestroyContext - Gets the current print context-id for a display con‐
nection.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
void XpDestroyContext ( display, print_context )
Display *display;
XPContext print_context;
ARGUMENTS
display
Specifies a pointer to the Display structure; returned from
XOpenDisplay.
print_context
Specifies the print context to destroy.
DESCRIPTIONXpDestroyContext closes any outstanding associations between the print
context and any display connections, and then destroys the print con‐
text. All display connections using the print context will no longer be
able to access the print context.
Destroying a print context will cause any in-progress pages, documents
and jobs to be canceled within the X Print Server.
DIAGNOSTICS
XPBadContext A valid print context-id has not been set prior to mak‐
ing this call.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │x11/library/libxp │
├─────────────────────────────┼─────────────────────────────┤
│Interface Stability │Committed │
├─────────────────────────────┼─────────────────────────────┤
│MT-Level │See XInitThreads(3X11) │
└─────────────────────────────┴─────────────────────────────┘
X Version 11 libXp 1.0.0 XpDestroyContext(3Xp)