Carbon


PMMakeOldPrintRecord

Header: PMCore.h Carbon status: Supported

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

OSStatus PMMakeOldPrintRecord (
    PMPrintSettings printSettings, 
    PMPageFormat pageFormat, 
    Handle *printRecordHandle
);
Parameter descriptions
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 PMMakeOldPrintRecord 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.

PMSessionMakeOldPrintRecord is recommended instead of PMMakeOldPrintRecord.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin and creating a page format and print settings object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)