-
Re: How to increase the font
Robin WestFeb 28, 2018 8:01 AM (in response to Ramsin Savra)
Hi Ramsin,
You will have to modify the ZPL to get the output you want.
To get the human readable text on top, it's a simple parameter adjustment: ^BCI,,N,Y This will not adjust the font size though.
To adjust the font size, you will have to add the text separately with a ^A command.
Currently there is no easy way within ZPL to center a barcode. Your method is the best option.
print (chanW1)"^XA"
print (chanW1)"^MMT"
print (chanW1)"^PW830"
print (chanW1)"^LL0406"
print (chanW1)"^LS0"
// some code go here to center the bar-code and its interpretation (human readable value)
print (chanW1)"^BY"+str(j)+",2,156^FT"+str(i)+",119^BCI,,N,N"
print (chanW1)"^FD"+part_number$+"^FS"
print (chanW1)"^FT"+str(i)+",10^A0N,30,30^FD"+part_number$+"^FS"
print (chanW1)"^PQ1,0,1,Y^XZ"