PMPrinterGetPaperList(_:_:)
Obtains the list of papers available for a printer.
Declaration
func PMPrinterGetPaperList(_ printer: PMPrinter, _ paperList: UnsafeMutablePointer<Unmanaged<CFArray>?>) -> OSStatusParameters
- printer:
The printer whose paper list you want to obtain.
- paperList:
A pointer to your Cfarray variable. On return, the variable refers to a Core Foundation array containing the paper list for the specified printer. Each element in the array is an object of type Pmpaper. You should not release the array without first retaining it.
Return Value
A result code. See Result Codes.
Discussion
This function obtains a list of the papers that a given printer claims to support. The paper list does not include any custom paper sizes that may be available.
See Also
Accessing Information About a Printer
PMPrinterCopyDescriptionURL(_:_:_:)PMPrinterCopyDeviceURI(_:_:)PMPrinterCopyHostName(_:_:)PMPrinterCopyPresets(_:_:)PMPrinterGetCommInfo(_:_:_:)PMPrinterGetDriverCreator(_:_:)PMPrinterGetID(_:)PMPrinterGetLocation(_:)PMPrinterGetMakeAndModelName(_:_:)PMPrinterGetMimeTypes(_:_:_:)PMPrinterGetName(_:)PMPrinterGetOutputResolution(_:_:_:)PMPrinterSetOutputResolution(_:_:_:)PMPrinterGetPrinterResolutionCount(_:_:)PMPrinterGetIndexedPrinterResolution(_:_:_:)PMPrinterGetState(_:_:)PMPrinterSetDefault(_:)PMPrinterIsDefault(_:)PMPrinterIsFavorite(_:)PMPrinterIsPostScriptCapable(_:)PMPrinterIsPostScriptPrinter(_:_:)PMPrinterIsRemote(_:_:)