Xojo Conferences

Platforms to show: All Mac Windows Linux Cross-Platform

NSPrinterMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class Cocoa Printing MBS MacCocoa Plugin 12.4 Yes No No Yes, macOS only No
Function: An NSPrinter object describes a printer's capabilities as defined in its PPD file.
dim p as NSPrinterMBS = NSPrinterMBS.defaultPrinter
MsgBox p.name+EndOfLine+p.type
Notes: 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.

Feedback, Comments & Corrections

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 which use this class:

Blog Entries

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

NSPredicateMBS   -   NSPrintInfoMBS

MBS FileMaker Plugins