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

# UIPrinterDestination

A description of a single printer.

```
@MainActor class UIPrinterDestination
```

## Overview

You can use `UIPrinterDestination` to describe a printer so that it populates in a [`UIPrinterPickerController`](/documentation/UIKit/UIPrinterPickerController) when the printer’s capabilities match the print-job attributes. `UIPrinterDestination` requires a URL to locate the printer. You can include an optional display name that populates in the user interface and a TXT record to detail the printer’s additional features.

## Topics

### Creating a printer destination

[`init(url: URL)`](/documentation/UIKit/UIPrinterDestination/init(url:)-7ck5j)

Creates a printer destination with the specified address.

### Describing the printer

[`var displayName: String?`](/documentation/UIKit/UIPrinterDestination/displayName)

A human-readable string that displays the name of a printer.

[`var txtRecord: Data?`](/documentation/UIKit/UIPrinterDestination/txtRecord)

A DNS TXT record to identify the printer.

[`var url: URL`](/documentation/UIKit/UIPrinterDestination/url)

The address of the printer.

### Initializers

[`init(URL: URL)`](/documentation/UIKit/UIPrinterDestination/init(URL:)-c1e8)

[`init?(coder: NSCoder)`](/documentation/UIKit/UIPrinterDestination/init(coder:))

## Relationships

### Conforms To

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

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

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

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

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

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

### 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)