Carbon


PMPrinterGetIndexedPrinterResolution

Header: PMCore.h Carbon status: Supported

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

OSStatus PMPrinterGetIndexedPrinterResolution (
    PMPrinter printer, 
    UInt32 index, 
    PMResolution *res
);
Parameter descriptions
printer

A PMPrinter object.

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 PMPrinterGetPrinterResolutionCount function to obtain the number of resolution settings supported bythe specified printer.

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)