![]() |
PMSessionPrintDialogInit |
||||
Header: | PMApplication.h | Carbon status: | Supported | |
Initializes a custom Print dialog box.
OSStatus PMSessionPrintDialogInit ( PMPrintSession printSession, PMPrintSettings printSettings, PMDialog *newDialog, PMDialog *newDialog );
A PMPrintSession object.
A PMPrintSettings object.
A PMPageFormat object.
On return, a pointer to an initialized PMDialog object, ready for customization by your application. Because the PMSessionPrintDialogMain function does not include a parameter for passing this PMDialog object to your dialog initialization callback function, your application should store this pointer in a global variable or as extended data in the PMPrintSettings object. See the discussion of the PMPrintDialogInitProcPtr callback function for more information.
A result code. A result code. See
Valid within the context of a printing session after creating a page format object.
Supported in Carbon. Available in Carbon 1.1 and later when running Mac OS 8.1 or later.
PMSessionPrintDialog is equivalent to the Classic Printing Manager function PrJobInit.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)