How do you use ZPL to change the font size to 9pt?
Onboard fonts are measured in dots, so you have to take into account the DPI of the printer you are targeting, typically 203 DPI, 300 DPI, or 600 DPI.
The ZPL Manual explains this and gives examples. See the third and fourth parameters of the ^A command.
Zebra also offers you a free WYSIWYG design tool called ZebraDesigner Free. You can create a label design and export the ZPL code. This is a great way to save some time and learn ZPL in the process.
^CFA,(font size here)
E.g, ^CFA,20
This changes the font for the text that comes after this code so it would look something like this
^CFA,20
^FO50,340^FD100 Disney Rules^FS
Hope this helps :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With