LP 2844  print pound symbol

Sir

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

Anonymous (not verified)
Use \£ (ESC + 0x9C) to print.

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohd Amer
Hi Steven,I have tried above

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

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Because you typed in "ESC x9C

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohd Amer
Hi stevenI have convert Esc

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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Mohd Amer
I have convert Esc to hex :1b


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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
I don't have an environment

I don't have an environment set up for C#. So I don't have a verified definitive code snippet to share. From EPL format language perspective, you can copy the following commands, which was extracted from the BritishPoundSignEPL.txt.zip​, as they are into the Communication window of Zebra Setup Utilities for Windows and send them to a printer with EPL enabled. You will see the pond sign on the label. The commands below show how the ESC and £ are encoded in a strange two byte string (" œ"). I hope you've used the HxD Hex Editor to see how the ESC and £ are encoded in one-byte for each in a text file. Hope this helps.

N

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

P1

After clicked the send button on the reply, I realized that the ESC is not visualized. Instead, it use a blank space for the ESC before œ character. Below, is a screenshot from the Communication window of the Zebra Setup Utilities for Windows, where the ESC is visualized. But you can still open the BritishPoundSignEPL.txt.zip and copy the commands to the Communication window to get the £ printed on the label.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Ridhwan Romjon
You have to change the

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 <price> ^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.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments