I'm trying to code a GS1-compliant QR Code in ZPL which will include a number of application identifiers:
VAR. COUNT (30) 18099999
CUST. PART NO. (241) 1184174
BATCH/LOT (10) MFATA00001
INTERNAL (91) EA
I don't understand how to embed the FNC1 character within the ^FD string when using ^BQ to create a QR Code.
Below is my first attempt. When creating a GS1-128 barcode, I would use the >8 character to denote variable-length fields.
^FX Test^FS
^XA^MCY^XZ
^XA^LH0,65
^LH0,0^FS
^BQN,2,10^FD>;>83018099999>82411184174>810MFATA00001>891EA^FS
^PQ1,0,0,N
^XZ
This creates a QR Code that returns the following string when scanned, but is not recognised as GS1 compliant:
11611193018099999>82411184174>810MFATA00001>891EA
How do I configure the ^FD field to enable the FNC1 character?
QR ZPL Issues
See a recent answer I had for QR codes here: Print ZPLII QR to open url
You are missing some of the parameters for the
^BQand^FDcommands.GS1 QR Issues
Research I've done indicates that the GS1 QR code is quite proprietary, and does not seem to be easily generated with ZPL. However, you can use a Data Matrix barcode quite easily.
Looks like you are trying to create a code with the following Application Identifiers and values:
GTIN
01seems to be required and is missing. I've added a temporary GTIN string. Customer part number241seems to be local only, and may not validate in some applications which validate global requirements.Full Barcode String.
Full ZPL for sample label
Hope that helps.
https://www.gs1.org/docs/barcodes/GSCN_16_477_FNC1.pdf https://www.zebra.com/us/en/support-downloads/knowledge-articles/creating-gs1-barcodes-with-zebra-printers-for-data-matrix-and-code-128-using-zpl.html