---
title: txtRecord
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiprinterdestination/txtrecord
---

# txtRecord

A DNS TXT record to identify the printer.

## Declaration

```swift
var txtRecord: Data? { get set }
```

## Discussion

Discussion This property supplies additional information about a printing service as a set of strings that the system can parse into a series of key/value pairs. The TXT record can provide basic access, identity, and capability information about the printing service. The interface can then locate the printer based on categories such as color or duplex printing. A TXT record isn’t required. When absent, the print system queries the URL and verifies that it can reach the printer before presenting it to the user.

## See Also

### Describing the printer

- [displayName](uikit/uiprinterdestination/displayname.md)
- [url](uikit/uiprinterdestination/url.md)
