---
title: "printInteractionController(_:cutLengthFor:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uiprintinteractioncontrollerdelegate/printinteractioncontroller(_:cutlengthfor:)"
---

# printInteractionController(_:cutLengthFor:)

Asks the delegate for a length to use when cutting the page.

## Declaration

```swift
optional func printInteractionController(_ printInteractionController: UIPrintInteractionController, cutLengthFor paper: UIPrintPaper) -> CGFloat
```

## Parameters

- `printInteractionController`: The shared instance of doc://com.apple.uikit/documentation/UIKit/UIPrintInteractionController that is managing the print job.
- `paper`: A doc://com.apple.uikit/documentation/UIKit/UIPrintPaper that specifies the maximum physical and printable areas of the page.

## Return Value

Return Value The physical length of the page in points.

## Discussion

Discussion Some printers can cut a roll of print paper at a particular length. If you implement this method in your delegate, then it may be called during a print job. Your delegate should determine the length in which the content fits and return this value. When printed, the paper will be cut to this length.

## See Also

### Choosing a Paper Size for the Print Job

- [printInteractionController(_:choosePaper:)](uikit/uiprintinteractioncontrollerdelegate/printinteractioncontroller(_:choosepaper:).md)
- [printInteractionController(_:chooseCutterBehavior:)](uikit/uiprintinteractioncontrollerdelegate/printinteractioncontroller(_:choosecutterbehavior:).md)
