Contents

UIPrintInfo

Information about a print job that the system uses when it prints.

Declaration

@MainActor class UIPrintInfo

Overview

A UIPrintInfo object encapsulates information about a print job, including printer identifier, job name, output type (photo, normal, grayscale), orientation (portrait or landscape), and any selected duplex mode.

Typically, you create a UIPrintInfo object and assign it to the printInfo property of the shared UIPrintInteractionController instance. However, it isn’t necessary to create a UIPrintInfo object for a print job; UIKit assumes certain defaults. In the printing-options user interface, users can select the printer, single-sided or double-sided printing for duplex printers, and (if the app allows it) a range of pages to print.

Topics

Creating a print info object

Managing print-job attributes

Initializers

See Also

Job info