Platforms to show: All Mac Windows Linux Cross-Platform

NSPrinterMBS 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 NSPrinter object describes a printer's capabilities as defined in its PPD file.
Example
dim p as NSPrinterMBS = NSPrinterMBS.defaultPrinter
MsgBox p.name+EndOfLine+p.type

An NSPrinter object can be constructed by specifying either the printer name or the make and model of an available printer. You use a printer object to get information about printers, not to modify printer attributes or control a printing job.

Printer Information Table States

Constant Value Description
NSPrinterTableError 2 Printer table is not valid.
NSPrinterTableNotFound 1 Printer table was not found.
NSPrinterTableOK 0 Printer table was found and is valid.

This class has no sub classes.

Some methods using this class:

Some properties using for this class:

Some examples using this class:

Blog Entries


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


NSPredicateMBS   -   NSPrintInfoMBS


The biggest plugin in space...