![]() |
PMSessionEndDocument |
||||
Header: | PMApplication.h | Carbon status: | Supported | |
Closes the context created for imaging a document in the specified printing session.
OSStatus PMSessionEndDocument ( PMPrintSession printSession );
A PMPrintSession object. On return, the object is no longer valid; however, you must still call PMRelease to release the object.
A result code. A result code. See
You should call PMSessionEndDocument after the last PMSessionEndPage in your print loop and before releasing the session.
Valid within the context of a printing session, after calling PMSessionBeginDocument.
Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.
PMSessionEndDocument is equivalent to the Classic Printing Manager function PrCloseDoc.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)