Carbon


PMGetJobName

Header: PMCore.h Carbon status: Supported

Obtains the name of the print job.

OSStatus PMGetJobName (
    PMPrintSettings printSettings, 
    StringPtr name
);
Parameter descriptions
printSettings

A PMPrintSettings object.

name

On return, the name of the print job.

function result

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

DISCUSSION

PMGetJobNameCFString is recommended instead of PMGetJobName.

SPECIAL CONSIDERATIONS

Before using this function you must call PMValidatePrintSettings to ensure that the print settings object is valid.

Valid after calling PMBegin and creating a print settings object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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