The orientation of printing on a page.


enum Orientation : Int


You use these constants when setting the value of the orientation property of a UIPrintInfo object.



case portrait

Pages are printed in portrait orientation.

case landscape

Pages are printed in landscape orientation.

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.

var orientation: UIPrintInfo.Orientation

The orientation of the printed content, portrait or landscape.

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.