FBPL Command Reference

Table Of Contents
42
6 Label Formatting Commands
6.1 BAR
Description
Draw a bar.
Syntax
BAR x,y,width,height
Parameter
Description
x
X-coordinate of the upper left corner (in dots)
y
Y-coordinate of the upper left corner (in dots)
width
Bar width (in dots)
height
Bar height (in dots)
Note:
203 dpi : 1 mm = 8 dots
300 dpi : 1 mm = 12 dots
600 dpi : 1 mm = 24 dots
Recommended max. bar height is 12 mm at 4" width. Bar height over 12 mm may damage the
power supply and affect the print quality.
Max. print ratio is different for each printer model. Desktop and industrial printer print ratio is limited
to 20% and 30% respectively.
Example
Sample code
SIZE 50 mm,25 mm
GAP 3 mm,0
DIRECTION 1
CLS
BAR 80,80,300,100
PRINT 1,1
Result
See Also
BOX
80
80
100
300