The duplex mode of a selected printer.


enum Duplex : Int


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



case none

No double-sided (duplex) printing; single-sided printing only.

case longEdge

Duplex printing that flips the back page along the long edge of the paper.

case shortEdge

Duplex print that flips the back page along the short edge of the paper.

See Also

Getting and Setting Print-Job Attributes

var duplex: UIPrintInfo.Duplex

Specifies the duplex mode to use for the print job.

var jobName: String

The name of the print job.

var orientation: UIPrintInfo.Orientation

The orientation of the printed content, portrait or landscape.

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.