Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

CUPS.GetPrinterName

Queries the name of this printer.

Component Version macOS Windows Linux Server iOS SDK
CUPS 2.5 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No

Deprecated

This function was deprecated. Use CUPS.GetPrintersAsJSON instead.

MBS( "CUPS.GetPrinterName"; index )   More

Parameters

Parameter Description Example
index Index of the printer. Value is between 0 and CUPS.GetPrinterCount-1. 0

Result

The name of the printer.

Description

Queries the name of this printer.
Please consider using CUPS.GetPrintersAsJSON instead to query all printers with details.

Examples

Get name of 3rd printer:

MBS( "CUPS.GetPrinterName"; 2 )

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 5th October 2020


CUPS.GetPrinterDefault - CUPS.GetPrintersAsJSON

💬 Ask a question or report a problem