Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSPrintInfoMBS class.

NSPrintInfoMBS.defaultPrinter as NSPrinterMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the default printer.

NSPrintInfoMBS.setSharedPrintInfo(printInfo as NSPrintInfoMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Sets the shared NSPrintInfo object to the specified object.

printInfo: The new shared printer information. This value must not be nil.

The shared NSPrintInfo object defines the settings for the NSPageLayout panel and print operations that will be used if no NSPrintInfo object is specified for those operations.

NSPrintInfoMBS.sharedPrintInfo as NSPrintInfoMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
shared method Cocoa Printing MBS MacCocoa Plugin 12.4 ✅ Yes ❌ No ❌ No ❌ No Desktop, Console & Web
Returns the shared NSPrintInfo object.

Some examples using this method:

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


The biggest plugin in space...