ZPL QR code not printing what is in the string

与世无争的帅哥 提交于 2020-05-13 14:18:26

问题


I've got the following ZPL code which prints a QR code with fielddata X50X-8091X-11111.

^XA^PON^FWN^FO30,10^BQN,2,6^FDx50x-8091x-12345^FS^XZ

But what the scanner scans from the QR code is this: 0X8091X11111. So the first X50 is not printed.

What can I do?


回答1:


The ZPL manual has a very detailed explanation of the data switches for QR codes: ^BQ Command Edit: Sorry @Veve, the explination is VERY long. Here is the simplified explination:




回答2:


The chars immediately following ^FD are switches (as defined here)

So you can use something like this;

^XA^FO100,100^BQN,2,4^FD   x50x-8091x-12345^FS^XZ

or this;

^XA^FO100,100^BQN,2,4^FDHM,A x50x-8091x-12345^FS^XZ


来源:https://stackoverflow.com/questions/42929119/zpl-qr-code-not-printing-what-is-in-the-string

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!