DotMatrix and Umlaut/mutated vowel

Stimulsoft Reports.NET discussion
Post Reply
joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

DotMatrix and Umlaut/mutated vowel

Post by joro »

Hello!

We are printing on an "EasyCoder C4" using the "PrintToDotMatrixPrinter(printerName)"-method.
This method prints the report using ASCII encoding, which means that somehow characters like 'ä', 'ü'. 'ö'... will not be printed.
If I pass a different encoding to the method (e.g. "PrintToDotMatrixPrinter(printerName, System.Encoding.Unicode)") the printer will not start printing at all.

Is there any way to use Unicode-encoding for printing to DotMatrix.
Does anyone else has problems with this?

After the report is rendered, its content is:
N
ON
ZB
WY
JF
q280
Q208,32
D8
A20,5,0,4,1,2,N,"H 121234/2012"
A20,50,0,4,1,1,N,"äöüRosÄÖÜsß"
A20,75,0,4,1,1,N,"áàâ"
B120,110,0,1,2,4,60,N,"2012100006"
j150
P1

I also tried to set the encoding within the reporting script (I8,1,001), but it does not change anything.

I hope anyone can help me.

best regards
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: DotMatrix and Umlaut/mutated vowel

Post by Alex K. »

Hello,

Please try to use the “Western European” encoding:
System.Text.Encoding.GetEncoding(1252)

or "Central European and Eastern European" encoding:
System.Text.Encoding.GetEncoding(1250)

Thank you.
joro
Posts: 63
Joined: Wed Jan 27, 2010 7:35 am

Re: DotMatrix and Umlaut/mutated vowel

Post by joro »

Hello,

sorry for the delay.
It seems, that the only CodePage that works (for us) on the Intermec EasyCoder C4 is CodePage 850.

I now call the following method and everything works fine:
PrintToDotMatrixPrinter(printerName, System.Encoding.GetEncoding(850));

Thank you for your help.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: DotMatrix and Umlaut/mutated vowel

Post by Alex K. »

Hello,

We are always glad to help you!
Let us know if you need any additional help.

Thank you.
Post Reply