printers are printing gibberish
sharmamangita opened this issue · 0 comments
sharmamangita commented
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