Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printers are printing gibberish #401

Open
sharmamangita opened this issue Aug 22, 2022 Discussed in #400 · 0 comments
Open

printers are printing gibberish #401

sharmamangita opened this issue Aug 22, 2022 Discussed in #400 · 0 comments

Comments

@sharmamangita
Copy link

Discussed in #400

Originally posted by sharmamangita August 22, 2022
Hi,
I used escpos for printing the value for that I am using this link https://www.npmjs.com/package/escpos and my code is for the printer is that

const escpos = require('escpos'); //for printing order on epson printer
escpos.Network = require('escpos-network');

const device = new escpos.Network(ipaddress, port);
var options = { encoding: "EUC-KR"};
const printer = new escpos.Printer(device, options);

I want to print the value the in English language but sometimes it shows gibberish and it's not happening in any particular case. gibberish printer randomly. Please check the screenshot also
185500490-1a56ac5a-b000-4958-87d6-b0591bac5437

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant