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

// Expert user has replied.
W Wen Mo 2 years 4 months ago
197 3 0

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!

Please register or login to post a reply

3 Replies

S Steven Si

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

W Wen Mo

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!

S Steven Si

Here is the full script of EPL example to print the €. You need to make sure to select the correct code page, etc.

I8,A,001

Q406,024
q831
rN
S6
D10
ZT
JF
O
R111,0
f100
N
A42,53,0,1,8,8,N,"Euro: €"
P1

 

CONTACT
Can’t find what you’re looking for?