<!--
{
  "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/displayLocation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPrinter(py)displayLocation"
  },
  "title" : "displayLocation"
}
-->

# displayLocation

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

```
var displayLocation: String? { get }
```

## Discussion

Many printers can be configured with a location string to reflect the printer’s physical location in an office. This property contains that location string or `nil` if no such string is available.

For printers you create yourself using the [`init(url:)`](/documentation/UIKit/UIPrinter/init(url:)-1mibn) method, the value of this property is `nil` until you successfully connect to the printer using the [`contactPrinter(_:)`](/documentation/UIKit/UIPrinter/contactPrinter(_:)) method.

---

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)