Instance Method

printWithInfo:autoRotate:

Prints the document with the specified printer information.

Declaration

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

Discussion

If autoRotate is set to YES, then ths method ignores the orientation attribute in the NSPrintInfo object and instead chooses the orientation that best fits the page to the paper size. This orientation occurs on a page-by-page basis.

See Also

Rendering the View and Printing

- drawPage:

Draw and render a visible page.

Deprecated
- drawPagePost:

Perform post-page rendering.

Deprecated
- printWithInfo:autoRotate:pageScaling:

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