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

# UIPrintInfo

Information about a print job that the system uses when it prints.

```
@MainActor class UIPrintInfo
```

## Overview

A [`UIPrintInfo`](/documentation/UIKit/UIPrintInfo) object encapsulates information about a print job, including printer identifier, job name, output type (photo, normal, grayscale), orientation (portrait or landscape), and any selected duplex mode.

Typically, you create a [`UIPrintInfo`](/documentation/UIKit/UIPrintInfo) object and assign it to the [`printInfo`](/documentation/UIKit/UIPrintInteractionController/printInfo) property of the shared [`UIPrintInteractionController`](/documentation/UIKit/UIPrintInteractionController) instance. However, it isn’t necessary to create a [`UIPrintInfo`](/documentation/UIKit/UIPrintInfo) object for a print job; UIKit assumes certain defaults. In the printing-options user interface, users can select the printer, single-sided or double-sided printing for duplex printers, and (if the app allows it) a range of pages to print.

## Topics

### Creating a print info object

[`+  printInfo`](/documentation/UIKit/UIPrintInfo/printInfo())

Returns a print-information object initialized with default values.

[`+  printInfoWithDictionary:`](/documentation/UIKit/UIPrintInfo/init(dictionary:))

Returns a print-information object that is initialized with the data in the passed-in dictionary.

[`dictionaryRepresentation`](/documentation/UIKit/UIPrintInfo/dictionaryRepresentation)

A dictionary representation of a print-information object.

[`-  initWithCoder:`](/documentation/UIKit/UIPrintInfo/init(coder:))

Creates a print info object from data in an unarchiver.

### Managing print-job attributes

[`duplex`](/documentation/UIKit/UIPrintInfo/duplex-swift.property)

The duplex mode to use for the print job.

[`Duplex`](/documentation/UIKit/UIPrintInfo/Duplex-swift.enum)

Constants that describe the duplex mode of a selected printer.

[`jobName`](/documentation/UIKit/UIPrintInfo/jobName)

The name of the print job.

[`orientation`](/documentation/UIKit/UIPrintInfo/orientation-swift.property)

The orientation of the printed content, portrait or landscape.

[`Orientation`](/documentation/UIKit/UIPrintInfo/Orientation-swift.enum)

Constants that describe the orientation of printing on a page.

[`outputType`](/documentation/UIKit/UIPrintInfo/outputType-swift.property)

The kind of printable content.

[`OutputType`](/documentation/UIKit/UIPrintInfo/OutputType-swift.enum)

Constants that describe the output type, which is an indication of the type of content the app is drawing or providing.

[`printerID`](/documentation/UIKit/UIPrintInfo/printerID)

An identifier of the printer to use for the print job.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

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

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