node-escpos icon indicating copy to clipboard operation
node-escpos copied to clipboard

Issue with different escpos version

Open KakarN opened this issue 6 years ago • 0 comments

I have installed this package via yarn add escpos, of which the latest released version in Github is 2.4.4. However, the version which got installed is 2.5.2, as is in this repository's master package.json.

Also, the odd thing is that even though the Github master version and my installed version of escpos's package.json is same (i.e., 2.5.2), but I have found some missing code in printer.js. Meaning some of the code which is present in this repository's printer.js is not present in the printer.js installed in my pc.

Eg. This is in the [repository's printer.js](this.width = options && options.width || 48;), which is not in my installed version of printer.js. this.width = options && options.width || 48;

How can I correct this?

KakarN avatar Dec 12 '19 12:12 KakarN