A printer on the network.
- iOS 8.0+
- Mac Catalyst 13.0+
You use a printer object to obtain information about a printer so that you can display that information in your app’s interface. You do not use printer objects to communicate with the printer directly.
Most of the time, you use a
UIPrinter object to retrieve a printer object representing the printer selected by the user. If you already have a URL containing the address of a printer—perhaps one that was previously selected by the user—you can use that URL to create a printer object directly. When creating your own printer objects, you must connect to the printer using the
contact method before retrieving any of the printer’s attributes.