node-thermal-printer
node-thermal-printer copied to clipboard
GetStatus not implemented
It does not generate an error when the paper runs out, it would be interesting to get the status if you have paper, give an error that paper is out.
the only thing I can return is the printer data but even that doesn't help because I follow this (https://github.com/tojocky/node-printer/issues/166) tutorial but it doesn't even have the necessary parameters.
{ name: 'EPSON TM-T20X', portName: 'TMUSB001', driverName: 'EPSON TM-T(203dpi) Receipt6', printProcessor: 'winprint', datatype: 'RAW', status: [], statusNumber: 0, attributes: [ 'DO-COMPLETE-FIRST', 'LOCAL', 'RAW-ONLY' ], priority: 1, defaultPriority: 0, averagePPM: 0, jobs: [ { id: 28, name: 'EPSON TM-T20X', printerName: 'EPSON TM-T20X', user: 'Totem Homo', format: 'RAW', priority: 1, size: 929, status: [], machineName: '\\\\DESKTOP-RS415OU', document: 'node print job', notifyName: 'Totem Homo', printProcessor: 'winprint', driverName: 'EPSON TM-T(203dpi) Receipt6', position: 1, startTime: 0, untilTime: 0, totalPages: 1, time: 0, pagesPrinted: 0 } ] }