Carbon


PMNewPrintSettings

Header: PMCore.h Carbon status: Supported

Creates a new PMPrintSettings object.

OSStatus PMNewPrintSettings (
    PMPrintSettings *printSettings
);
Parameter descriptions
printSettings

On return, an initialized PMPrintSettings object.

function result

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

DISCUSSION

PMNewPrintSettings 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 PMDefaultPrintSettings or PMValidatePrintSettings.

PMCreatePrintSettings is recommended instead of PMNewPrintSettings.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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