Instance Method

printWithInfo:autoRotate:pageScaling:

Prints the document with the specified printer and page-scaling information.

Declaration

- (void)printWithInfo:(NSPrintInfo *)printInfo autoRotate:(BOOL)doRotate pageScaling:(PDFPrintScalingMode)scale;

Discussion

If pageScaling is set to kPDFPrintPageScaleToFit, each page is scaled up or down to best fit the paper size. If pageScaling is set to kPDFPrintPageScaleDownToFit, only large pages are scaled down to fit; small pages are not scaled up to fit. Specifying kPDFPrintPageScaleNone for pageScaling is equivalent to calling printWithInfo:autoRotate:. See PDFDocument for more information on page-scaling types.

See Also

Rendering the View and Printing

- drawPage:

Draw and render a visible page.

Deprecated
- drawPagePost:

Perform post-page rendering.

Deprecated
- printWithInfo:autoRotate:

Prints the document with the specified printer information.