| Explanation | Get a list of printers. Not available in mobile and AI. |
| Call format | var list = getPrinterList( ) |
| Return value | List of printers. Returns an array of Record objects with the following child objects: | Type | Name | Explanation | | Number | defaultPrinter | 1 for the currently selected printer, 0 for Other | | Number | preview | 1 for the dummy printer for preview, 0 for Other | | String | printerName | Printer name | | String | description | Comments set on the printer | |
| Arguments | None |
| Exception | None |
| Example of use | var list = getPrinterList();
for (var n = 0; n < list.Length; n++) {
print(list[n].defaultPrinter, list[n].preview, list[n].printerName, list[n].description, "\n");
} |
| Related item | setDefaultPrinter function. |