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

# printFormattersForPage(at:)

Returns the print formatters for a specified page.

```
func printFormattersForPage(at pageIndex: Int) -> [UIPrintFormatter]?
```

## Parameters

`pageIndex`

The index of a page of printable content.

## Return Value

An array of [`UIPrintFormatter`](/documentation/UIKit/UIPrintFormatter) objects. A print formatter can be an instance of [`UISimpleTextPrintFormatter`](/documentation/UIKit/UISimpleTextPrintFormatter), [`UIMarkupTextPrintFormatter`](/documentation/UIKit/UIMarkupTextPrintFormatter), or [`UIViewPrintFormatter`](/documentation/UIKit/UIViewPrintFormatter).

## Discussion

A print formatter is associated with a starting page of printable content through the [`addPrintFormatter(_:startingAtPageAt:)`](/documentation/UIKit/UIPrintPageRenderer/addPrintFormatter(_:startingAtPageAt:)) method or the [`startPage`](/documentation/UIKit/UIPrintFormatter/startPage) property of [`UIPrintFormatter`](/documentation/UIKit/UIPrintFormatter). The number of pages from that page is determined by the [`pageCount`](/documentation/UIKit/UIPrintFormatter/pageCount) property, which [`UIPrintFormatter`](/documentation/UIKit/UIPrintFormatter) computes based on layout metrics and content.

---

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)