Carbon


PMGetPrinterResolution

Header: PMCore.h Carbon status: Supported

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

OSStatus PMGetPrinterResolution (
    PMTag tag, 
    PMResolution *res
);
Parameter descriptions
tag

Specifies the kind of resolution information required.

res

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 after calling PMBegin.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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