<!--
{
  "availability" : [
    "iOS: 4.2.0 -",
    "iPadOS: 4.2.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIPrintError",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:SC16UIPrintErrorCodeLeV"
  },
  "title" : "UIPrintError"
}
-->

# UIPrintError

A structure that contains information about a printing error.

```
struct UIPrintError
```

## Topics

### Accessing error codes

[`enum Code`](/documentation/UIKit/UIPrintError/Code)

Constants that specify the print error code.

[`static var notAvailable: UIPrintError.Code`](/documentation/UIKit/UIPrintError/notAvailable)

The device doesn’t support printing.

[`static var noContent: UIPrintError.Code`](/documentation/UIKit/UIPrintError/noContent)

UIKit hasn’t assigned a print formatter, page renderer, or printing item to print.

[`static var unknownImageFormat: UIPrintError.Code`](/documentation/UIKit/UIPrintError/unknownImageFormat)

An image is in a format that UIKit doesn’t recognize for printing.

[`static var jobFailed: UIPrintError.Code`](/documentation/UIKit/UIPrintError/jobFailed)

An internal error occurred with the print job.

### Getting error information

[`static var errorDomain: String`](/documentation/UIKit/UIPrintError/errorDomain)

The printing error domain.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)