Guilherme Gonçalves
Guilherme Gonçalves
You need any more information?
I reproduce this issue in another computer and got the following error: ``` /home/user/myapp/node_modules/gulp-util/lib/PluginError.js:45 self[prop] = options.error[prop]; ^ RangeError: Maximum call stack size exceeded at /home/user/myapp/node_modules/gulp-util/lib/PluginError.js:45:35 at Array.forEach (native) at...
@Awk34 can you reproduce? I was analyzing that error and I arrived on `gulp-mocha` plugin. This erro has been fixed on https://github.com/sindresorhus/gulp-mocha/pull/114, but the latest version was not yet released...
Installing `gulp-mocha` from master fix it
Like @Blair2004 said, the purpose of this project is to write ESC/POS instructions in XML language. I'll explain. First of all, there are many thermal-printers that support standardized instructions. This...
You must make sure if your printer supports the full ESC/POS protocol, and also check if the size of the data you're printing is in an acceptable range by the...
@VyankeshH try doing this: ```js import { EscPos } from '@datahex/escpos-xml'; const xml = ` {{qrcode}} `; const data = { qrcode: 'hello qrcode' }; const buffer = EscPos.getBufferFromTemplate(xml, data);...
Well, in this case, I think that your printer doesn't support the QR code feature. Unfortunately, there are some models that don't support it. You should check your printer specifications.
Hmm, it's weird. So, you may use the [BufferBuilder](https://github.com/ingoncalves/escpos-xml#from-builder) or try writing the buffer manually, according to the printer specification. There might be differences in protocol.