Carbon


PMSessionConvertOldPrintRecord

Header: PMCore.h Carbon status: Supported

Creates new PMPageFormat and PMPrintSettings objects from a Classic print record.

OSStatus PMSessionConvertOldPrintRecord (
    PMPrintSession printSession, 
    Handle printRecordHandle, 
    PMPrintSettings *printSettings, 
    PMPageFormat *pageFormat
);
Parameter descriptions
printSession

A PMPrintSession object.

printRecordHandle

A handle to a Classic print record.

printSettings

On return, a validated PMPrintSettings object.

pageFormat

On return, a validated PMPageFormat object.

function result

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

DISCUSSION

Use PMSessionConvertOldPrintRecord to create page format and print settings objects from documents created by non-Carbon versions of your application.

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)