PMPrintSettingsCopyAsDictionary(_:_:)
Creates a dictionary that contains the settings in a print settings object.
Declaration
func PMPrintSettingsCopyAsDictionary(_ printSettings: PMPrintSettings, _ settingsDictionary: UnsafeMutablePointer<Unmanaged<CFDictionary>?>) -> OSStatusParameters
- printSettings:
The print settings object with the desired settings.
- settingsDictionary:
A pointer to your Cfdictionary variable. On return, the variable refers to a Core Foundation dictionary that contains the settings in the specified print settings object. Some of the keys in this dictionary are currently defined in
PMTicket.h; other keys are user-defined. You are responsible for releasing the dictionary. If an error occurs, the variable is set toNULL.
Return Value
A result code. See Result Codes.
Discussion
Most developers have no need to use this function. However, one way this function might be useful would be to enumerate all the entries in a print settings object for inspection.
See Also
Accessing Data in Print Settings Objects
PMGetFirstPage(_:_:)PMSetFirstPage(_:_:_:)PMGetLastPage(_:_:)PMSetLastPage(_:_:_:)PMGetPageRange(_:_:_:)PMSetPageRange(_:_:_:)PMPrintSettingsGetJobName(_:_:)PMPrintSettingsSetJobName(_:_:)PMGetCopies(_:_:)PMSetCopies(_:_:_:)PMGetCollate(_:_:)PMSetCollate(_:_:)PMGetDuplex(_:_:)PMSetDuplex(_:_:)PMPrintSettingsGetValue(_:_:_:)PMPrintSettingsSetValue(_:_:_:_:)PMPrintSettingsCopyKeys(_:_:)