XpGetContext(3Xp) XPRINT FUNCTIONS XpGetContext(3Xp)

XpGetContext - Gets the current print context-id for a display connection.

cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>

XPContext XpGetContext ( display )
Display *display;

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

XpGetContext returns the id of the current print context associated with display. If a print context has not been set, a value of None is returned.

libXp 1.0.4 X Version 11