Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ZPL - How to set Font size to 9pt?

Tags:

label

zpl

How do you use ZPL to change the font size to 9pt?

like image 982
Fabienne Williams Avatar asked Dec 01 '16 14:12

Fabienne Williams


2 Answers

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.

like image 74
Elton Saunders Avatar answered Sep 21 '22 15:09

Elton Saunders


^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 :)

like image 37
Roshan Isaac Avatar answered Sep 24 '22 15:09

Roshan Isaac