---
title: "printFormattersForPage(at:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiprintpagerenderer/printformattersforpage(at:)"
---

# printFormattersForPage(at:)

Returns the print formatters for a specified page.

## Declaration

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

## Parameters

- `pageIndex`: The index of a page of printable content.

## Return Value

Return Value An array of UIPrintFormatter objects. A print formatter can be an instance of UISimpleTextPrintFormatter, UIMarkupTextPrintFormatter, or UIViewPrintFormatter.

## Discussion

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

## See Also

### Managing print formatters

- [addPrintFormatter(_:startingAtPageAt:)](uikit/uiprintpagerenderer/addprintformatter(_:startingatpageat:).md)
- [printFormatters](uikit/uiprintpagerenderer/printformatters.md)
