Carbon


PMSessionGetCurrentPrinter

Header: PMCore.h Carbon status: Supported

Creates a new PMPrinter object for the current printer, associated with the specified printing session.

OSStatus PMSessionGetCurrentPrinter (
    PMPrintSession printSession, 
    PMPrinter *currentPrinter
);
Parameter descriptions
printSession

A PMPrintSession object.

currentPrinter

On return, a new PMPrinter object.

function result

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

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)