问题
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