@gauravbordoloi/escpos-serialport
TypeScript icon, indicating that this package has built-in type declarations

4.0.0 • Public • Published

Serial("port", options)

const escpos = require('escpos');
escpos.SerialPort = require('escpos-serialport');

const serialDeviceOnWindows = new escpos.SerialPort('COM10');
const serialDeviceOnLinux = new escpos.SerialPort('/dev/usb/lp0', {
  baudRate: 14400,
  stopBit: 2
});

Check the serialport package documentation for more options.

Readme

Keywords

Package Sidebar

Install

npm i @gauravbordoloi/escpos-serialport

Weekly Downloads

1

Version

4.0.0

License

MIT

Unpacked Size

11.4 kB

Total Files

9

Last publish

Collaborators

  • gauravbordoloi