Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Queries printer names.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Printer | 6.5 | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |
none
Returns list or error.
Query formats:
# we run Print dialog
# as there is no printer or paper format with ?, this will not change it
# and 2 means cancel
#
Set Variable [$r; Value:MBS("Printer.Print"; ""; 2; "?"; "?")]
# we just put in question marks here, so our plugin looks into paper options, but since ? is not a valid one, it will not change it.
#
Pause/Resume Script [Duration (seconds): 2]
#
Set Field [Printer Dialog::PaperFormats; MBS( "Printer.PaperFormats" )]
Set Field [Printer Dialog::Printers; MBS( "Printer.PrinterNames" )]
Set Field [Printer Dialog::PaperSources; MBS( "Printer.PaperSources" )]
This function is free to use.
Created 16th November 2016, last changed 10th December 2023