Prints the document with the specified printer and page-scaling information.
SDK
- macOS 10.5+
Framework
- PDFKit
Declaration
- (void)printWithInfo:(NSPrint Info *)printInfo autoRotate:(BOOL)doRotate pageScaling:(PDFPrint Scaling Mode)scale;
Discussion
If page
is set to k
, each page is scaled up or down to best fit the paper size. If page
is set to k
, only large pages are scaled down to fit; small pages are not scaled up to fit. Specifying k
for page
is equivalent to calling print
. See PDFDocument for more information on page-scaling types.