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


Queries whether this printer is the default printer.

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


This function was deprecated. Use CUPS.GetPrintersAsJSON instead.

MBS( "CUPS.GetPrinterDefault"; index )   More


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


A boolean value. True if the printer is the default printer.


Queries whether this printer is the default printer.
Please consider using CUPS.GetPrintersAsJSON instead to query all printers with details.


Get default state of 3rd printer:

MBS( "CUPS.GetPrinterDefault"; 2 )

See also

Release notes

Blog Entries

This function checks for a license.

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

CUPS.GetPrinterCount - CUPS.GetPrinterName

💬 Ask a question or report a problem