Carbon


PMCreatePrintSettings

Header: PMCore.h Carbon status: Supported

Creates a new PMPrintSettings object.

OSStatus PMCreatePrintSettings (
    PMPrintSettings *printSettings
);
Parameter descriptions
printSettings

On return, an initialized PMPrintSettings object.

function result

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

DISCUSSION

PMCreatePrintSettings allocates memory for a new PMPrintSettings object in your application’s memory space. The new print settings object is empty until you set its values, or until you call PMSessionDefaultPrintSettings or PMSessionValidatePrintSettings.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.

CARBON NOTES

PMCreatePrintSettings combined with PMCreatePageFormat is equivalent to creating a new Classic Printing Record (TPrint).


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