Tutorial: System.getPrinters

System.getPrinters

Retrieves list of accessible printers.

Example

fin.System.getPrinters()
    .then((printers) => {
        printers.forEach((printer) => {
            if (printer.isDefault) {
                console.log(printer);
            }
        });
    })
    .catch((err) => {
        console.log(err);
    });