20.UIPrintFormatter
Uiprintformatter when printing a formatted abstract base class: demonstrates that traditional printable content objects can span page boundaries. Due to the printing format, the print system can automatically print the type associated with the printed content. The following is a subclass of Uiprintformatter:
(1) Uisimpletextprintformatter
An instance of the Uisimpletextprintformatter class is laid out to print plain text, possibly multiple pages. The class allows you to specify the pattern properties of the global font, color, snaplines, and newline characters of the printed text.
(2) Uimarkuptextprintformatter
An instance of the Uimarkuptextprintformatter class shows the HTML markup text for a multi-page print job.
(3) Uiviewprintformatter
An instance of the Uiviewprintformatter class that outlines what the view is drawn for printing. The contents of a view can span multiple pages.
21.UIPrintInfo
A Uiprintinfo object encapsulates information about the print job, including printer identification, job name, output type (photo, normal, grayscale), Orientation (portrait or landscape), and any selected duplex mode. This information is used when the print system prints.
22.UIPrintInteractionController
Uiprintinteractioncontroller class of shared instances, presents a printed user interface and manages files, images and other printable content in iOS print. Uiprintinteractioncontroller is the iOS central printing class. Its shared instance represents a print job. print jobs, including their printing-related information and options, such as output type, job name, paper size and orientation, to print content.
23.UIPrintPageRenderer
A Uiprintpagerenderer object draws the contents of the page to be printed with or without printing formatting. A page rendering is an instance of the Uiprintpagerenderer custom subclass. When you compose a print job that uses a Uiprintinteractioncontroller shared instance, the page that you specify is rendered to the Printpagerenderer property of the instance.
24.UIPrintPaper
An instance of the Uiprintpaper class encapsulates a rectangle that uses the paper size, the print job, and the contents in which the content can be printed.
ios--about printing