Carbon


PMSetJobNameCFString

Header: PMCore.h Carbon status: Supported

Specifies the name of a print job.

OSStatus PMSetJobNameCFString (
    PMPrintSettings printSettings, 
    CFStringRef name
);
Parameter descriptions
printSettings

A PMPrintSettings object.

name

The name to assign to the print job. This string will be used to name the spool file.

function result

A result code. A result code. See “Result Codes”. The result code kPMInvalidParameter is returned if you pass NULL or an empty string in the name parameter.

SPECIAL CONSIDERATIONS

Valid within a printing session after creating a print settings object.

AVAILABILITY

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


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