XpGetImageResolution(3Xp) X Version 11 XpGetImageResolution(3Xp)NAMEXpGetImageResolution - Gets the current image resolution for a print
context.
SYNOPSIS
cc [ flag... ] file... -lXp [ library... ]
#include <X11/extensions/Print.h>
int XpGetImageResolution ( display, print_context )
Display *display;
XPContext print_context;
ARGUMENTS
display
Specifies a pointer to the Display structure.
print_context
Specifies the print context on which to get the resolution.
DESCRIPTIONXpGetImageResolution returns the current image resolution for the spec‐
ified print context. A value of zero means the resolution automatically
tracks the printer resolution. If the request fails in some way, a neg‐
ative value is returned.
DIAGNOSTICS
XPBadContext A valid print context-id has not been set prior to mak‐
ing this call.
Solaris X11 6.6.2 22 May 2004 XpGetImageResolution(3Xp)