Carbon


PMSessionBeginDocument

Header: PMApplication.h Carbon status: Supported

Establishes a graphics context for imaging a document in the specified printing session.

OSStatus PMSessionBeginDocument (
    PMPrintSession printSession, 
    PMPrintSettings printSettings, 
    PMPageFormat pageFormat
);
Parameter descriptions
printSession

A PMPrintSession object.

printSettings

A PMPrintSettings object.

pageFormat

A PMPageFormat 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.

CARBON NOTES

PMSessionBeginDocument is equivalent to the Classic Printing Manager function PrOpenDoc.


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