UNPKG

node-thermal-printer

Version:

Print on Epson, Star, Tranca, Daruma and Brother thermal printers with Node.js

48 lines (38 loc) 1.1 kB
class PrinterType { constructor () { // console.error('Constructor not set'); } beep () { console.error(new Error("'beep' not implemented yet")); return null; } printQR (str, settings) { console.error(new Error("'printQR' not implemented yet")); return null; } pdf417 (data, settings) { console.error(new Error("'pdf417' not implemented yet")); return null; } code128 (data, settings) { console.error(new Error("'code128' not implemented yet")); return null; } maxiCode (data, settings) { console.error(new Error("'maxiCode' not implemented yet")); return null; } printBarcode (data, type, settings) { console.error(new Error("'printBarcode' not implemented yet")); return null; } async printImage (image) { console.error(new Error("'printImage' not implemented yet")); return null; } printImageBuffer (width, height, data) { console.error(new Error("'printImageBuffer' not implemented yet")); return null; } } module.exports = PrinterType;