Tutorial: View.getPrinters

View.getPrinters

Returns an array with all system printers

Example

const view = fin.View.getCurrentSync();

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