I'm using the ZPL - Zebra Programming Language to format a Code 93 barcode ^BA
to reside within a label.
I know I can set the default module width using ^BY
. My problem is that ^BY1
makes the barcode to small to read and ^BY2
makes it too large for the label.
This is the code:
^FO15,110^BY2,3,35^BAN,35,N^FD001EC0A688E2^FS
I wish I could use decimal values with ^BY
but that doesn't seem to be possible.
Some barcodes as Code 128 ^BC
have a mode parameter to pack the bar code better based on the data but ^BA
doesn't have that.
I saw that some barcodes as QR (^BQ
) do have a magnification factor parameter but that's also missing for ^BA
.
Are there any other ways to set the width with smaller steps than ^BY
?
The label is 38 mm wide and 19 mm tall and the DPI is 203 (8 dots/mm) and the data is always 12 hexadecimal characters [0-9 and A-F].