Carbon


PMGetIndexedPrinterResolution

Header: PMCore.h Carbon status: Supported

Obtains a resolution setting based on an index into the range of settings supported by the current printer.

OSStatus PMGetIndexedPrinterResolution (
    UInt32 index, 
    PMResolution *res
);
Parameter descriptions
index

An index into the range of resolution settings supported by the specified printer. Index values begin at 1.

res

On return, the printer resolution setting.

function result

A result code. A result code. See “Result Codes”.

DISCUSSION

You must first use the PMGetPrinterResolutionCount function to obtain the number of resolution settings supported bythe current printer.

PMPrinterGetIndexedPrinterResolution is recommended instead of PMGetIndexedPrinterResolution.

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)