Carbon


PMPrinterGetPrinterResolution

Header: PMCore.h Carbon status: Supported

Obtains the resolution setting for the specified printer according to the tag parameter.

OSStatus PMPrinterGetPrinterResolution (
    PMPrinter printer, 
    PMTag tag, 
    PMResolution *res
);
Parameter descriptions
printer

A PMPrinter object.

tag

Specifies the kind of resolution information required.

res

On return, the printer resolution setting.

function result

A result code. A result code. See “Result Codes”. The result code kPMNotImplemented indicates that the printer driver does not support multiple resolution settings.

DISCUSSION

The following resolution tag constants are recognized:

SPECIAL CONSIDERATIONS

Valid within the context of a printing session.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)