auk_ie
asked on
How to display € symbol on OPOS compatible equipment
Hello
I am trying to output the Euro Symbol (€) on my opos equipment (Epson TM-88II and Dynapos Line Display).
I am using the common activeX controls for the hardware
I have tried
CSharp Code
//For the Line Display
char szEuro = (char)8364;
axOPOSLineDisplay1.Display Text(szEur o.ToString , (int)DISP_DT_NORMAL);
or
axOPOSLineDisplay1.Display Text("€", (int)DISP_DT_NORMAL);
//But neither work
and for the printer
string szESC = "\x1b";
float fPrice = 20.0f;
axOPOSPOSPrinter1.PrintNor mal( (int)PTR_S_RECEIPT, szESC + "|N" + fPrice.ToString("C") + "\n");
I know this hardware is capable of printing the euro symbol, as I have seen it done from other software. But how?
I am trying to output the Euro Symbol (€) on my opos equipment (Epson TM-88II and Dynapos Line Display).
I am using the common activeX controls for the hardware
I have tried
CSharp Code
//For the Line Display
char szEuro = (char)8364;
axOPOSLineDisplay1.Display
or
axOPOSLineDisplay1.Display
//But neither work
and for the printer
string szESC = "\x1b";
float fPrice = 20.0f;
axOPOSPOSPrinter1.PrintNor
I know this hardware is capable of printing the euro symbol, as I have seen it done from other software. But how?
ASKER
I queried the CharacterSetList property which tells me
Pos Printer supports following character sets: 255,437,850,858,860,863,86 5,998
Line Display supports following character sets: 998
But I still don't know how to print the euro symbol.
When I power on the Line Display it scrolls through all the symbols it supports. One of them happens to be the Euro symbol. Howerer it doesn't display anything when I try
axOPOSLineDisplay1.Display Text("€", (int)DISP_DT_NORMAL);
I wonder if I need to send it some specific code to print the euro?
Pos Printer supports following character sets: 255,437,850,858,860,863,86
Line Display supports following character sets: 998
But I still don't know how to print the euro symbol.
When I power on the Line Display it scrolls through all the symbols it supports. One of them happens to be the Euro symbol. Howerer it doesn't display anything when I try
axOPOSLineDisplay1.Display
I wonder if I need to send it some specific code to print the euro?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For the LineDisplay : same story.
jlsjls