Carbon


PMSessionMakeOldPrintRecord

Header: PMCore.h Carbon status: Supported

Creates a Classic print record from a PMPageFormat and a PMPrintSettings object.

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

A PMPrintSession object.

printSettings

A PMPrintSettings object.

pageFormat

A PMPageFormat object.

printRecordHandle

On return, a handle to a Classic print record. Your application must dispose of this handle.

function result

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

DISCUSSION

Use PMSessionMakeOldPrintRecord to create a Classic print record to store with your documents for compatibility with non-Carbon versions of your application. Note that because the page format and print settings objects contain more information than the Classic print record, some settings may be lost in conversion.

SPECIAL CONSIDERATIONS

Valid within a printing session after creating a page format object and a print settings object.

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)