The size of a QR code is self-adjusted based on the length of the encoded string, the longer is the string to be encoded by the QR code, the larger the size of the QR code. It's the same for the barcode, i.e., the longer is the encoded string, the wider the barcode. This is to ensure the QR code or the barcode remains scannable when the encoded string gets longer. Otherwise, it would be more difficult to scan. To have a fixed size of the QR code, the best practice is to encode a fixed length of string.
2 Replies
Hi,
I am using Zebra printer to print QRCODE.
The size/dimension of QRCODE become bigger if the contents more data.
The ZPL code as below,
1) CODE with small QRCODE generated.
`BQN,2,4`FDQA,SA,1VFCS-M,25,1VFCS,25`FS`XZ
2) CODE with bigger QRCODE generated.
`BQN,2,4`FDQA,SA,1VJNL-M,25,1VJNL,275,1VKME-M,25,1VKME,150,1VKMN-M,25,1VKMN,125,1VPEK-M,25,1VPEK,250`FS`XZ
Please advise on how to fixed the size of QRCODE.
Thank you very much.
The size of a QR code is self-adjusted based on the length of the encoded string, the longer is the string to be encoded by the QR code, the larger the size of the QR code. It's the same for the barcode, i.e., the longer is the encoded string, the wider the barcode. This is to ensure the QR code or the barcode remains scannable when the encoded string gets longer. Otherwise, it would be more difficult to scan. To have a fixed size of the QR code, the best practice is to encode a fixed length of string.