PDGetCurrentResolution man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



PDGetCurrentResolution(3)	 Impressario	     PDGetCurrentResolution(3)

NAME
     PDGetCurrentResolution - get current printing resolution

SYNOPSIS
     #include <pod.h>

     int PDGetCurrentResolution(PDInfoStruct *info,
				int *hresp, int *vresp);

DESCRIPTION
     PDGetCurrentResolution is a convenience function for determining the
     current printing resolution.

     Typically, printers have a single output resolution and the POD
     PDInfoStruct horizontal_resolution and vertical_resolution fields provide
     the printing resolution directly. However, certain printers allow
     switching between multiple output resolutions. For these printers the
     current resolution is determined by first parsing the PDStatusStruct
     printer_options field for the keyword CurrentRes. The value for this
     keyword will indicate the current horizontal and vertical resolutions. If
     the keyword is not found, the resolutions in the PDInfoStruct are used.
     The PDGetCurrentResolution function performs the above procedure to
     determine the current resolution.

RETURN VALUE
     PDGetCurrentResolution returns 0 upon successful execution. If an error
     occurs, the function returns -1 and sets PDerrno.

EXECUTION ERROR CODES
     PDGetCurrentResolution will fail under the following circumstances.

     PD_LIBERR_BAD_STRUCT     A NULL structure pointer has been specified.

SEE ALSO
     PDReadInfo(3), PDReadStatus(3), libpod(3)

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net