<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPrinter",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPrinter"
  },
  "title" : "UIPrinter"
}
-->

# UIPrinter

A printer on the network.

```
@MainActor class UIPrinter
```

## Overview

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 [`UIPrinterPickerController`](/documentation/UIKit/UIPrinterPickerController) 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 [`contactPrinter(_:)`](/documentation/UIKit/UIPrinter/contactPrinter(_:)) method before retrieving any of the printer’s attributes.

## Topics

### Creating a printer object

[`+  printerWithURL:`](/documentation/UIKit/UIPrinter/init(url:)-1mibn)

Creates and returns a printer with the specified location.

### Getting the printer’s address

[`URL`](/documentation/UIKit/UIPrinter/url)

The full address of the printer.

### Getting the printer information

[`displayName`](/documentation/UIKit/UIPrinter/displayName)

The human-readable printer name.

[`displayLocation`](/documentation/UIKit/UIPrinter/displayLocation)

The human-readable text that describes the location of the printer.

[`makeAndModel`](/documentation/UIKit/UIPrinter/makeAndModel)

A string that contains the manufacturer’s name and the model name of the printer.

[`supportedJobTypes`](/documentation/UIKit/UIPrinter/supportedJobTypes)

The capabilities of the printer.

[`JobTypes`](/documentation/UIKit/UIPrinter/JobTypes)

Constants that indicate the types of jobs that the printer supports.

[`supportsColor`](/documentation/UIKit/UIPrinter/supportsColor)

A Boolean value that indicates whether the printer supports color printing.

[`supportsDuplex`](/documentation/UIKit/UIPrinter/supportsDuplex)

A Boolean value that indicates whether the printer supports printing on both sides of a sheet of paper.

### Connecting to the printer

[`-  contactPrinter:`](/documentation/UIKit/UIPrinter/contactPrinter(_:))

Connects to the printer and gathers information about its capabilities.

### Constants

[`CutterBehavior`](/documentation/UIKit/UIPrinter/CutterBehavior)

Constants that specify the cutter behavior of a roll-fed printer.

## Relationships

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Sendable`](/documentation/Swift/Sendable)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)