Carbon


PMPrintDialogInit

Header: PMApplication.h Carbon status: Supported

Initializes a custom Print dialog box.

OSStatus PMPrintDialogInit (
    PMPrintSettings printSettings, 
    PMDialog *newDialog
);
Parameter descriptions
printSettings

A PMPrintSettings object.

newDialog

On return, a pointer to an initialized PMDialog object, ready for customization by your application.

function result

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

DISCUSSION

This function is no longer recommeded. You should instead use PMSessionPrintDialogInit or PMPrintDialogInitWithPageFormat, both of which pass page format information to the dialog object.

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 when running Mac OS 8.1 or later.

CARBON NOTES

The PMPrintDialogInit function replaces the Printing Manager function PrJobInit.


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