<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSPageLayout/printInfo",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSPageLayout(py)printInfo"
  },
  "title" : "printInfo"
}
-->

# printInfo

The printing information object used when the page layout panel is run.

```
var printInfo: NSPrintInfo? { get }
```

## Discussion

The NSPrintInfo object is set using the [`beginSheet(with:modalFor:delegate:didEnd:contextInfo:)`](/documentation/AppKit/NSPageLayout/beginSheet(with:modalFor:delegate:didEnd:contextInfo:)) or [`runModal(with:)`](/documentation/AppKit/NSPageLayout/runModal(with:)) method. The shared NSPrintInfo object is used if the receiver is run using [`runModal()`](/documentation/AppKit/NSPageLayout/runModal()).

## See Also

[`-  writePrintInfo`](/documentation/AppKit/NSPageLayout/writePrintInfo)

Writes the page layout’s values to the print info object used when the page layout panel is run.

[`-  readPrintInfo`](/documentation/AppKit/NSPageLayout/readPrintInfo)

Sets the page layout’s values to those stored in the print info object used when the page layout panel is run.



---

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)