Carbon


PMEndDocument

Header: PMApplication.h Carbon status: Supported

Closes the context created for imaging a document.

OSStatus PMEndDocument (
    PMPrintContext printContext
);
Parameter descriptions
printContext

On return, an invalidated PMPrintContext object.

function result

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

DISCUSSION

PMSessionEndDocument is recommended instead of PMEndDocument.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin and PMBeginDocument.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.

CARBON NOTES

The PMEndDocument replaces the Printing Manager function PrCloseDoc.


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