Platforms to show: All Mac Windows Linux Cross-Platform

NSPrintOperationMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
An NSPrintOperation object controls operations that generate Encapsulated PostScript (EPS) code, Portable Document Format (PDF) code, or print jobs.

An NSPrintOperation object works in conjunction with two other objects: an NSPrintInfo object, which specifies how the code should be generated, and an NSView object, which generates the actual code.

It is important to note that the majority of methods in NSPrintOperation copy the instance of NSPrintInfo passed into them. Future changes to that print info are not reflected in the print info retained by the current NSPrintOperation object. All changes should be made to the print info before passing to the methods of this class.

Page Order Constants

Constant Value Description
NSAscendingPageOrder 1 Ascending (back to front) page order.
NSDescendingPageOrder -1 Descending (front to back) page order.
NSSpecialPageOrder 0 The spooler does not rearrange pages—they are printed in the order received by the spooler.
NSUnknownPageOrder 2 No page order specified.

Print Quality Constants

Constant Value Description
NSPrintRenderingQualityBest 0 Renders the printing at the best possible quality, regardless of speed.
Available in OS X v10.7 and later.
NSPrintRenderingQualityResponsive 1 Sacrifices the least possible amount of rendering quality for speed to maintain a responsive user interface. This option should be used only after establishing that best quality rendering does indeed make the user interface unresponsive. more

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Release notes


The items on this page are in the following plugins: MBS MacCocoa Plugin.


NSPrintInfoMBS   -   NSPrintPanelMBS


The biggest plugin in space...