How to print British Pound sign and Euro Currency sign with EPL?


Audience

How to print British Pound sign and Euro Currency sign with EPL?

I've tried many ways, but, could not figure out. It always prints two other characters. Here is my codes to print -
N
q300
Q100,22
B297,80,2,1,2,2,30,N,"607845011293"
A270,42,2,2,1,1,N,"607845011293"
A290,20,2,2,1,1,N,"12345678901234567890"
A90,70,2,1,1,1,N,"£199.99"
A100,42,2,2,1,1,N,"€299.99"
P0003,1
But, it doesn't print £ and € correctly.
Thanks!

Submitted by SSi1 on December 02, 2021 Permalink

Use \£ (ESC + 0x9C) to print. However, be aware of the actual encoding in the text editor. Here is the actual encoding, viewed in Notepad++. I had to use HxD Hex Editor to ensure that the ESC and 0x9C are coded correctly

N
A150,200,0,3,1,1,N,"British pound sign: œ"
P1

Submitted by wmo@kwi.com on December 06, 2021 Permalink

Thanks Steven. I cut and paste what you posted to "direct Communication with Printer" in the Zebra Setup Utility. It works. I've tried to create the Euro sign, but, could not make it work. Could you post similar code for Euro sign?

Thanks!