<!--
{
  "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/init(dictionary:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIPrintInfo(cm)printInfoWithDictionary:"
  },
  "title" : "init(dictionary:)"
}
-->

# init(dictionary:)

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

```
init(dictionary: [AnyHashable : Any]?)
```

## Parameters

`dictionary`

A dictionary that contains data to initialize the `UIPrintInfo` object with.

## Return Value

An instance of `UIPrintInfo` or `nil` if the object could not be created.

## Discussion

You use the `dictionary` parameter to initialize a `UIPrintInfo` object with stored print-job information.  Some applications might archive a previous `UIPrintInfo` object and use that for a future print job with this method.

You can later access the dictionary by calling the [`dictionaryRepresentation`](/documentation/UIKit/UIPrintInfo/dictionaryRepresentation) method on the `UIPrintInfo` object.

---

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)