Class

UIPrintInfo

Information about a print job.

Declaration

@interface UIPrintInfo : NSObject

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. This information is used by the printing system when it prints.

Typically you create a UIPrintInfo object and assign it to the printInfo property of the shared UIPrintInteractionController instance. However, it is not 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-side or double-side printing for duplex printers, and (if the application allows it) a range of pages to print.

Topics

Creating a UIPrintInfo Object

+ printInfo

Returns a print-information object initialized with default values.

+ printInfoWithDictionary:

Returns a print-information object that is initialized with the data in the passed-in dictionary.

dictionaryRepresentation

Returns a dictionary representation of a print-information object.

Getting and Setting Print-Job Attributes

duplex

Specifies the duplex mode to use for the print job.

UIPrintInfoDuplex

The duplex mode of a selected printer.

jobName

The name of the print job.

orientation

The orientation of the printed content, portrait or landscape.

UIPrintInfoOrientation

The orientation of printing on a page.

outputType

The kind of printable content.

UIPrintInfoOutputType

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

printerID

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

Relationships

Inherits From

Conforms To

See Also

Job Info

UIPrinter

A printer on the network.

UIPrintPaper

The size of paper used for a print job and the rectangle in which content can be printed.