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:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
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.
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.
Get default state of 3rd printer:
MBS( "CUPS.GetPrinterDefault"; 2 )
Created 18th August 2014, last changed 5th October 2020
CUPS.GetPrinterCount - CUPS.GetPrinterName
Feedback: Report problem or ask question.