Protocol

UIPrintInteractionControllerDelegate

A set of methods implemented by the delegate of the UIPrintInteractionController shared instance to perform a number of optional tasks.

Declaration

@protocol UIPrintInteractionControllerDelegate

Overview

If the application has special requirements for content sizes, it can implement printInteractionController:choosePaper: to return a UIPrintPaper object encapsulating the page size and the printing area to use for a print job. If you want more control of the presentation of the printing options, the delegate can return a view controller that owns the printing-options view in an implementation of printInteractionControllerParentViewController:. The delegate can also implement methods that are invoked when the printing user interface is presented and when it is dismissed, and when the print job begins and ends.

Topics

Returning a Parent View Controller

- printInteractionControllerParentViewController:

Returns a parent view controller for managing the printing-options view.

Choosing a Paper Size for the Print Job

- printInteractionController:choosePaper:

Asks the delegate for an object encapsulating the paper size and printing area to use for the print job.

- printInteractionController:cutLengthForPaper:

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

- printInteractionController:chooseCutterBehavior:

Asks the delegate for the cutter behavior to use for the print job.

Responding to the Presentation and Dismissal of the Printing Interface

- printInteractionControllerWillPresentPrinterOptions:

Tells the delegate that the printing-options user interface is about to be displayed.

- printInteractionControllerDidPresentPrinterOptions:

Tells the delegate that the printing-options user interface has just been presented.

- printInteractionControllerWillDismissPrinterOptions:

Tells the delegate that the printing-options user interface will be dismissed.

- printInteractionControllerDidDismissPrinterOptions:

Tells the delegate that the printer user interface is being dismissed.

Responding to the Start and End of a Print Job

- printInteractionControllerWillStartJob:

Tells the delegate that the print job is about to start.

- printInteractionControllerDidFinishJob:

Tells the delegate that the print job has ended.

Constants

UIPrinterCutterBehavior

Constants for specifying the cutter behavior of a roll-fed printer.

Relationships

Inherits From

See Also

Assigning the Delegate

delegate

The delegate of the print interaction controller.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software