LP 2844  print pound symbol

M Mohd Amer 3 years 6 months ago
450 6 0

Sir
   I have to print pound symbol on LP 2844 label print. Please let me know command to print Pound symbol.

Please Register or Login to post a reply

6 Replies

R Ridhwan Romjon

You have to change the International encoding for that line using ^CI28. The next line after that you must set it back to ^CI17.

This is the line I have for my pound sign,

^FT81,68^A0R,39,38^FH^CI28^FD _c2_a3 ^FS

The bit you need is

^FH ^CI28 ^FD _c2_a3 ^FS

_c2_a3 is the UTF8 Hex encoding for £. You can find a list of them here.

M Mohd Amer

Hi steven
I have convert Esc to hex :1b  or to decimal: 156
still its not printing. Please can u give me example to print pound symbol in c# using Epl language.

M Mohd Amer

I have convert Esc to hex :1b  or to decimal: 27
still its not printing. Please can u give me example to print pound symbol in c# using Epl language.

M Mohd Amer

Hi Steven,

I have tried above code but its printing as string, not printing pound symbol.

Eg:

N CR LF
A150,200,0,3,1,1,N,"British Pound sign : ESC x9C" CR LF
P1 CL RF

Output:  British Pound sign : ESC x9C

Y Yanis Dalabiras

Because you typed in "ESC x9C" as string literal, that's why you got the string. You have to use the ASCII code for ESC and £ for correct encoding. As suggested, use the HxD Hex Editor to check and verify the encoding. Have you tried to send the attached EPL to the printer? You can also use HxD Hex Editor to view the attached EPL. Hope that will give you a clue on how the ESC and £ are encoded.

Y Yanis Dalabiras

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.

Attached is the EPL that prints the £. Hope this helps.

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