Contents

pmPrintSettings()

Returns a Core Printing object configured with the print info’s print settings information

Declaration

func pmPrintSettings() -> UnsafeMutableRawPointer

Return Value

A pointer to a PMPrintSettings object, an opaque data type used to store information such as the number of copies and the range of pages in a printing session. You should not call PMRelease to release the returned object, except to balance calls to PMRetain that your code also issued.

Discussion

The information in the returned PMPrintSettings object is consistent with the receiver’s print settings at the time this method is called. Subsequent changes to the receiving NSPrintInfo object do not result in changes to the information in the PMPrintSettings data type.

If you make changes to the data in the PMPrintSettings object, you should invoke the updateFromPMPrintSettings() method to synchronize those changes with the NSPrintInfo object that created the object.

See Also

Accessing Core Printing Information