托管项目 Node.js的ESC / POS打印机驱动程序 可用软件包: 例 const escpos = require ( 'escpos' ) ; // install escpos-usb adapter module manually escpos . USB = require ( 'escpos-usb' ) ; // Select the adapter based on your printer type const device = new escpos . USB ( ) ; // const device = new escpos.Network('localho