PrinterToPDF icon indicating copy to clipboard operation
PrinterToPDF copied to clipboard

Chinese character

Open hu1576105100 opened this issue 1 year ago • 3 comments

Can it support Chinese character set? I tried other character sets, it will display garbled characters.

hu1576105100 avatar Apr 20 '23 08:04 hu1576105100

It can support any 8 x 16 character set, but you would need to create it.

The fonts are stored as a plain bitmap - 8 pixels x 16 pixels high - we use Fony to create a font and then export it as a bitmap.

RWAP avatar Apr 20 '23 10:04 RWAP

I use fony draw two words by click pixel block, but there are too many words in charset table of chinese, is there any other way to create a font that suport chinese, to quickly achive my goal

1-point avatar Apr 23 '23 09:04 1-point

If you say there are more than 256 chinese characters (which would not surprise me), then how do the printers handle this? The ESC/P2 programming reference manual does not include any chinese character table sets.

Normally the Epson printers only deal with 0 to 255 as the character code for each letter.

There is no quick way around this - you can use a much bigger 16 bit character set but would need to work out how to interpret the incoming byte as a chinese character and then look it up in the character set.

RWAP avatar Apr 23 '23 13:04 RWAP