Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Queries printer info.

Component Version macOS Windows Linux Server iOS SDK
Printer 6.5 ✅ Yes ✅ Yes ❌ No ✅ Yes, on macOS and Windows ❌ No
MBS( "Printer.PrinterInfo"; Name; Selector )   More


Parameter Description Example
Name The name of the printer. "LaserPrinter"
Selector The selector for the value to query. "Name"


Returns value or error.


Queries printer info.
Selectors on Mac: Name, Type, languageLevel (PostScript language level or zero). If you ask for deviceDescriptionKeys, you get a list of other keys available.
Selectors on Windows: ServerName, PrinterName, ShareName, PortName, DriverName, Comment, Location, SepFile, PrintProcessor, Datatype, Parameters, SepFile, Priority, DefaultPriority, StartTime, UntilTime, Status, Jobs, AveragePPM, Status, Attributes.
Attributes and Status are returned as numbers.
If you pass "Keys" for selector, we return list of all available keys.


Queries type of Mac printer:

MBS("Printer.PrinterInfo"; "Brother DCP-8085DN"; "type")

See also

Release notes

  • Version 10.2

Example Databases

Blog Entries

This function checks for a license.

Created 27th November 2016, last changed 27th November 2016

Printer.PrinterCount - Printer.PrinterName