-
Re: LP 2844 print pound symbol
Steven SiFeb 13, 2018 12:00 PM (in response to Mohd Amer)
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.
-
BritishPoundSignEPL.txt.zip 212 bytes
-
-
Re: LP 2844 print pound symbol
Mohd Amer Feb 14, 2018 6:33 AM (in response to 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
-
Re: LP 2844 print pound symbol
Steven SiFeb 14, 2018 7:49 AM (in response to Mohd Amer)
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.
-
-
Re: LP 2844 print pound symbol
Mohd Amer Feb 19, 2018 11:34 PM (in response to 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.
-
Re: LP 2844 print pound symbol
Mohd Amer Feb 19, 2018 11:35 PM (in response to 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.
-
Re: LP 2844 print pound symbol
Steven SiFeb 20, 2018 7:12 AM (in response to Mohd Amer)
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.
-