Contents

PMGetJobNameCFString

Obtains the name of the print job.

Declaration

OSStatus PMGetJobNameCFString (
   PMPrintSettings printSettings,
   CFStringRef *name
);

Parameters

  • printSettings:

    The print settings object whose job name you want to obtain.

  • name:

    A pointer to your Cfstring variable. On return, the variable refers to a string that contains the name of the print job. Despite what its name implies, the function PMGetJobNameCFString has Create/Copy semantics which means your application must release the string returned to it.

Return Value

A result code. See Result Codes.

See Also

Accessing Data in Print Settings Objects