A question about ZPL: How to print fonts using unicode character set?

Hi,

I have a question about ZPL, how to print fonts using unicode character set? I tried to use ^CI command to select Encoding, but when the ^CI 29/30 selected, printer hang up. Can anyone provide an example for this? Thanks so much!

Anonymous (not verified)
Hello,I am happy to help

Hello,

I am happy to help assist you. Could you tell me which printer you are working with?

Thank you,
Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Qiaoling Xu
Thanks Beverly, I'm working

Thanks Beverly, I'm working with QLN320 printer.

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi,The programming manual, on

Hi,

The programming manual, on page 153 details the ^CI command. Page 155 has a brief example near the bottom of the page. Please take a look through those pages and compare the example to what you created. Are you able to share an example of your label here so I can take a look at it and see what you were trying and then provide more guidance to you?


Thank you,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Qiaoling Xu
Hi,Yes, for example, I'd like

Hi,

Yes, for example, I'd like to use unicode character set to print data "123", as we know the unicode of '0031' is '1', '0032' is '2' and '0033' is '3'. So I write a script as below:

^XA^LL300^FO100,100^CI29^A0N50,50^FD<NUL><0x31><NUL><0x32><NUL><0x33>^FS^XZ

When I sent it to printer, nothing printout and the printer hang up. How wrong with this script? Could you provide a correct script to me?

Thank you,

QL

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi QL,Thank you for that


Hi QL,

Thank you for that example, I will look through it and get back to you. I do have one question, what firmware is on your QLn320 (if you print a config label it will tell you the FW version)?

You can print a configuration report by following the video on this page.

Thank you,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Qiaoling Xu
Hi Beverly,My QLn320 printer

Hi Beverly,

My QLn320 printer use the latest FW version V68.19.10Z.

Looking forward to your feedback.

Thanks,

QL

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi QL,First I want to clarify

Hi QL,

First I want to clarify the format with you. Per the programming manual, the reccommend place to put the ^CI command is at the beginning of each ZPL script.
Below is an example that works on my QLn320, using the Latin Character Set Zebra Code on page 1194, with the Single Byte Encoding - U.S.A. 1 Character Set to do a special character swap (comments are added in for clarity, they would not be added into the script the way I have depicted them here).

^XA

^CI0,33,49 //This swaps the ! point for the number 1. This uses the 0 code set.

^CI0,33,50 //This swaps the ! point for the number 2. This uses the 0 code set.

^CIO,33,51 //This swaps the ! point for the number 3. This uses the 0 code set.

^FO0,0^A0N50,50^FD123^FS

^XZ

This prints out !!!.

Which characters are you wanting to change out?

Thank you,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi QL,Did the example I

Hi QL,

Did the example I provide help? What characters are you wanting to change out? Please let me know if you would like further assistance.

Thank you,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Qiaoling Xu
Hi Beverly,Yes,It's helpful!

Hi Beverly,

Yes,It's helpful! It is no problem now.

Thank you,

QL

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Anonymous (not verified)
Hi QL,Great to hear!Thanks

Hi QL,

Great to hear!

Thanks,

Beverly

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments