Skip to main content

availablePrinters

Type​

property

Summary​

Reports a list of all the printers available on the current system.

Syntax​

get the availablePrinters

Description​

Use the availablePrinters property to find out the names of the printers installed on the current system.

The availablePrinters property is read-only and cannot be set.

Examples​

if tPrinter is not among the lines of the availablePrinters then
answer error "Printer not found"
end if
set the printerName to (line 1 of the availablePrinters)

Value​

NameTypeDescription

value

The availablePrinters is a return-delimited list of printer names (i.e. one per line).

command: answer printer

Compatibility and Support​

Introduced

LiveCode 2.9

OS

mac

windows

linux

Platforms

desktop

Thank you for your feedback!

Was this page helpful?