Instance Property

printPaper

An object representing the paper size and printing area for the print job.

Declaration

var printPaper: UIPrintPaper? { get }

Discussion

UIPrintInteractionController sets this property immediately after the user selects a printer and before it calls the delegate’s printInteractionControllerWillStartJob(_:) method. If its delegate implements the printInteractionController(_:choosePaper:) method of the UIPrintInteractionControllerDelegate protocol, it can return the UIPrintPaper object to assign to this property. Otherwise, UIKit assigns an object with a default paper size and printing rectangle that is based on the output type and the capabilities of the destination printer. This object is released when the print job finishes.

See Also

Accessing Print-Job Information

var printInfo: UIPrintInfo?

An object encapsulating information about the print job.

var showsNumberOfCopies: Bool

A Boolean value that determines whether the printing options include the number of copies.

var showsPageRange: Bool

A Boolean value that determines whether the printing options include a page-range control.

Deprecated
var showsPaperSelectionForLoadedPapers: Bool

A Boolean value for enabling the paper selection menu.