Contents

PMPrintSettingsGetJobName(_:_:)

Obtains the name of a print job.

Declaration

func PMPrintSettingsGetJobName(_ printSettings: PMPrintSettings, _ name: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatus

Parameters

  • printSettings:

    The print settings for the current print job.

  • name:

    A pointer to your Cfstring variable. On return, the variable refers to a Core Foundation string containing the name of the print job. This is the same job name you set using the function 1460149 Pmprintsettingssetjobname. You should not release the string without first retaining it.

Return Value

A result code. See Result Codes.

See Also

Accessing Data in Print Settings Objects