Imprima símbolos cirílicos en código de barras con Zebra
Frecuentes
Visto 3,157 equipos
0
I'd like to know if there is a way to print Cyrillic symbols in barcode using Zebra printer?
The printer is Zebra GK420t. Language is ZPL.
Opuesto a esa pregunta I'd like to print not text but barcode that includes Cyrillic symbols which could be later recognized by scanner.
Muestra de código:
^XA
^LH10,40
^CWT,E:ARI000.FNT^CFT,20,20^CI28
^FO60,330^BCN,100,Y,Y^FD^Part^FS
^XZ
In my app i replace ^Part
with part code which contans Cyrillic letters. String is encoded to UTF-8 and byte array sent to printer:
byte[] bytes = System.Text.Encoding.UTF8.GetBytes(ZPLstring);
1 Respuestas
0
You should be able to print a bar code that includes Cyrillic symbols if you use the Code-128 bar code encoding. You have to set the code page to 1251 for Cyrillic.
You should read the ZPL documentation and determine how to set the mode to use Code-128 and code page 1251.
http://www.idautomation.com/barcode-fonts/code-128/user-manual.html
The answer to this question might also help you out: Caracteres Unicode en impresora ZPL
contestado el 23 de mayo de 17 a las 11:05
Thanks for answer. This link is mainly related to font, but in my case I'm using printer's ability to print barcode and if any unsupported char is faced in my data barcode won't show up. - madre sim
For zebra printers you have to use ZPL to print bar codes. You can use a ZPL command to put the printer in the the mode for printing a Code 128 bar code using code page 1251. - Shane Wealti
I do. That is what I want. But what I have tried so far does not work. I'd like to get tips on how it was successfully done by someone. - madre sim
Did you read the answer to the linked question I put when I updated my answer? - Shane Wealti
Yeah, I have the same link in my question. And I've already used that method to print text in proper encoding. This does not work for barcodes so far. - madre sim
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas printing barcode zebra-printers zpl or haz tu propia pregunta.
Please post a sample of the ZPL string you are sending and what you expect to be the result that is printed on the label. - Shane Wealti