Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Printer.PrinterInfo

Queries printer info.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Printer 6.5 Yes Yes Yes No No

MBS( "Printer.PrinterInfo"; Name; Selector )

Parameters

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

Result

Returns value or error.

Description

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.

Examples

Queries type of Mac printer:

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

See also

Example Databases


Printer.PrinterCount   -   Printer.PrinterName

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins