EscPosEncoder icon indicating copy to clipboard operation
EscPosEncoder copied to clipboard

For each command, codepage name is printed

Open rborovina opened this issue 3 years ago • 8 comments

Instead of text, printer prints out the codepage name, like 'ascii' or 'cp850'.

rborovina avatar Sep 17 '21 18:09 rborovina

This is also happening to me. Is this maybe specific only for some printers? I'm using EPSON TM-P20.

alesrosina avatar Oct 29 '21 07:10 alesrosina

I have the same problem did u find a solution?

Grentry avatar Apr 08 '22 13:04 Grentry

i found the bug the paramaters for CodepageEncoder.encode should be swaped.

Grentry avatar Apr 09 '22 14:04 Grentry

pls give me an example, cause I can't complete, it and i tried a lot of time, and get bored and thank u

ZarooDotnet avatar May 22 '22 14:05 ZarooDotnet

in the function _encode return CodepageEncoder.encode(value, this._codepage); this line should be return CodepageEncoder.encode(this._codepage, value);

EnjoX avatar May 22 '22 15:05 EnjoX

I'll try thanks a lot..for ur response

ZarooDotnet avatar May 22 '22 15:05 ZarooDotnet

Hi.. I print english successfully..but arabic get unreadable letters,while I tried different codepage Note my printer is xprinter.. Any help..pls

ZarooDotnet avatar May 22 '22 17:05 ZarooDotnet

you need to check which codepages your printer supports and the use one with arabic letters

EnjoX avatar May 23 '22 06:05 EnjoX