XpGetImageResolution − Gets the current image resolution for a print context.


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

#include <X11/extensions/Print.h>

int XpGetImageResolution ( display, print_context )
Display *display;
XPContext print_context;



Specifies a pointer to the Display structure.


Specifies the print context on which to get the resolution.


XpGetImageResolution returns the current image resolution for the specified print context. A value of zero means the resolution automatically tracks the printer resolution. If the request fails in some way, a negative value is returned.



A valid print context-id has not been set prior to making this call.

More Linux Commands

perlclib(1) - Internal replacements for standard C library f
One thing Perl porters should note is that perl doesnt tend to use that much of the C standard library internally; youll see very little use of, for example, th

faccessat(2) - check user's permissions of a file relative t
access() checks whether the calling process can access the file pathname. If pathname is a symbolic link, it is dereferenced. The mode specifies the accessibili

binfmt.d(5) - Configure additional binary formats at boot...
At boot, systemd-binfmt.service(8) reads configuration files from the above directories to register in the kernel additional binary formats for executables. CON

execv(3) - execute a file (Library - Linux man page)........
The exec() family of functions replaces the current process image with a new process image. The functions described in this manual page are front-ends for execv

ooweb(1) - LibreOffice office suite - Linux manual page.....
LibreOffice (LO for short) is a multi-platform office productivity suite. It was derived from OpenOffice.org 3.3 Beta on September 28, 2010. libreoffice is a sh

PC(3ncurses) - direct curses interface to the terminfo capab
These routines are included as a conversion aid for programs that use the termcap library. Their parameters are the same and the routines are emulated using the

frexpf(3) - convert floating-point number to fractional and
The frexp() function is used to split the number x into a normalized fraction and an exponent which is stored in exp. RETURN VALUE The frexp() function returns

gdb(1) - The GNU Debugger (Commands - Linux manual page)....
The purpose of a debugger such as GDB is to allow you to see what is going on inside another program while it executes -- or what another program was doing at t

XLoadFont(3) - load or unload fonts and font metric structur
The XLoadFont function loads the specified font and returns its associated font ID. If the font name is not in the Host Portable Character Encoding, the result

Tcl_SetChannelBufferSize(3) - procedures for creating and ma
Tcl uses a two-layered channel architecture. It provides a generic upper layer to enable C and Tcl programs to perform input and output using the same APIs for

view(1) - Vi IMproved, a programmers text editor (Man Page)
Vim is a text editor that is upwards compatible to Vi. It can be used to edit all kinds of plain text. It is especially useful for editing programs. There are a

feraiseexcept(3) - floating-point rounding and exception han
These eleven functions were defined in C99, and describe the handling of floating-point rounding and exceptions (overflow, zero-divide, etc.). Exceptions The di

We can't live, work or learn in freedom unless the software we use is free.