NSPrinterMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

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


💬 Ask a question or report a problem