Instance Property

orientation

The orientation of the printed content, portrait or landscape.

Declaration

var orientation: UIPrintInfo.Orientation { get set }

Discussion

An application can set this property to a value thats appropriate to the printable content or it can put up a user interface that enables users to pick the printing orientation. The default value is UIPrintInfo.Orientation.portrait. See the descriptions of the UIPrintInfo.Orientation constants for more information.

See Also

Getting and Setting Print-Job Attributes

var duplex: UIPrintInfo.Duplex

Specifies the duplex mode to use for the print job.

enum UIPrintInfo.Duplex

The duplex mode of a selected printer.

var jobName: String

The name of the print job.

enum UIPrintInfo.Orientation

The orientation of printing on a page.

var outputType: UIPrintInfo.OutputType

The kind of printable content.

enum UIPrintInfo.OutputType

The output type, which is an indication of the type of content the application is drawing or providing.

var printerID: String?

An identifier of the printer to use for the print job.