How can I switch the codepage in line print mode

Dear Community, Dear Zebra Team,

 

I’m working on an old project with printing on Windows CE5 and Windows CE6. Up till now our software worked with other printers – not with Zebra printers. The software is sending plain text via serial Port and Bluetooth to the printers.

 

Now we want to support Zebra printers as well. We need no fancy stuff so I would like to keep the plain printing concept. Changing that would be a lot of work. Everything is working fine with my Zebra ZQ520 except of printing the German Letters ÄÖÜüäöß. That is because I need to change the Code Page of the device for Iine_print mode. I need the Codepage to 850 with Value 6 Encoding (Germany Character Set). I found no way in the documentation to do that for plain printing. So I tried something like this: (Text Send over Com Port):

 

german.PNG

 

What shell I say? It is not working!

 

Dear Community, Dear Zebra Team, is there a way to set the Codepage for plaintext permanently via a tool/device configuration? If not, can I set die Codepage for a session by sending a device command?

I hope really would like to stick with plain text printing!

 

Best Regards

Niels

 

 

Dear Community, Dear Zebra Team,

I’m working on an old project with printing on Windows CE5 and Windows CE6. Up till now our software worked with other printers – not with Zebra printers. The software is sending plain text via serial Port and Bluetooth to the printers.

Now we want to support Zebra printers as well. We need no fancy stuff so I would like to keep the plain printing concept. Changing that would be a lot of work.

Everything is working fine with my Zebra ZQ520 except of printing the German Letters ÄÖÜüäöß. That is because I need to change the Code Page of the device for Iine_print mode. I need the Codepage to 850 with Value 6 Encoding (Germany Character Set).

I found no way in the documentation to do that for plain printing. So I tried something like this: (Text Send over Com Port):

! U1 setvar "device.languages" "zpl"

^XA^CI6^XZ

! U1 setvar "device.languages" "line_print"

Hello World, what about ÄÖÜüäöß

What shell I say? It is not working!

Dear Community, is there a way to either set the Codepage for plaintext permanently via a tool/device configuration? If not, can I set die codepage for a session by sending a device command?

I hope I don’t have to rebuild my entire printing Classes only to print the German Letters. L

Best Regards Niels

How can I switch the codepage in line print mode

Niels Wiederanders
Sorry, I don't know why my

Sorry, I don't know why my text was send 2 times!

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Gregory Pawlik
Hi Niels,For Germany

Hi Niels,

For Germany characters you can send the following command to the printer:

! U1 COUNTRY GERMANY

Then when the printer receives the following characters:

@ [ \ ] { | } ~

it will print the following German characters respectively:

§ Ä Ö Ü ä ö ü ß

More information can be found the CPCL manual for Link-OS printers:

https://www.zebra.com/content/dam/zebra/manuals/en-us/printer/cpcl-link-os-pg-en.pdf

Greg

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Niels Wiederanders
Thank you Greg,that did it! :

Thank you Greg,

that did it! :-)

Best Regards

Niels

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Marek Skurka
Hi Greg, do you know similar

Hi Greg, do you know similar solution for printing of arabic characters?

I'm trying to print on Zebra ZQ520 in line print mode.

I can't find mention about Arabic charset.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Marek,Arabic is not

Hi Marek,

Arabic is not supported in line print mode or CPCL.  Arabic is only supported in ZPL.  The reason for this is Arabic requires extra font processing by the printer. 

Roibn West

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Marek Skurka
Hi Robin,Is there an answer

Hi Robin,

Is there an answer for Zebra ZQ520 only or all Zebra mobile printers?

Marek

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Marek, Unfortunately this

Hi Marek, Unfortunately this is a limitation of line mode and CPCL in general, so it is a limitation of all Zebra mobile printers.  There are only two answers:

1. Switch the printer to ZPL and use that command language

2. Create a pcx graphic with your Arabic text and send that to print

We recommend the ZPL, but it is up to you.

Robin

Vote: 
Vote up!
Vote down!

Points: 1

You voted ‘up’


Marek Skurka
Thanks for help.

Thanks for help.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Jan Bass
HII´m really struggling with

HI

I´m really struggling with this Problem. Using a GK420d with Generic Text/Only Driver. Made some ZPL templates and worked fine only the geman ÄÖÜ äöü wont print.

I set the german-codepage on the driver and then also set the codpage in the template. but no success.

I got an EPL-template from a collegue of mine which is working fine at his site, same Problem the ÄÖÜ wont print.

this is the epl template:

I8,1,049

Q200,032

S5

D11

ZT

O

R40,0

N

FK"ETT"

FK"ETT"

FS"ETT"

V00,10,N,""

A100,200,2,1,1,2,N,V00

A400,100,2,2,1,2,N,"Ää,Öö,Üü"

PA1,1

FE

FR"ETT"

?

FK"ETT"

FK"ETT"

N

any ideas to this problem. PLEASE

thanx

jan

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi Jan, As I'm not sure what

Hi Jan, As I'm not sure what system you are using to encode your text, I can only make a guess at your issue.  You set the character set with the 'I' command as you have in your first line but you need to make sure you not only set the country code, but the codepage to be the same as your character encoding.  EPL does not take multi-byte characters, but the ones you are using "Ää,Öö,Üü" are available in several of the single byte encodings available.  In the EPL manual, you can check the Code Pages section for details. Basically if you use the code page as you have it set in the "I" command, you want to make sure the hex for the "Ä" character in your file is 0x8E.

As you are using a generic text driver, changing things there won't do anything.

Robin

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments