22
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 4 Label Design
3. Text Field,
cont'd.
Summary
To create a text field, the following formatting commands must be
given (in most cases default values may substitute missing para-
meters). Input data to the field is explained chapter 4.9, printing
commands are explained in chapter 5.2, and the use of national
character sets is explained in chapters 6.11 and 9.2.
Purpose
Command
Default
Remarks
X/Y Position
PRPOS | PP
0,0
Number of dots
Alignment
ALIGN | AN
1
Select AN 1 – 9
Direction
DIR
1
Select DIR 1 – 4
Font
FONT | FT
“Swiss 721 BT”, 12, 0
Font Size
FONTSIZE | FS
12
Can be added to
FONT command
Font Slant
FONTSLANT | FL
0
Can be added to
FONT command
Magnification
MAG
1,1
Height 1–4,
Width 1–4
Appearance
INVIMAGE | II
off
White-on-black print
NORIMAGE | NI
on
Black-on-white print
Examples:
PP 200,500:AN 7:DIR 2:
FT "Futura Light BT",15,10:MAG 2,2:II
↵
PP 50,300:NASC "OCR-A.NSC":
FT "OCR-A BT":PT "This is OCR-A":
PP 50,50:NASC 1:
FT "Futura Light BT",15,10:
PT "This is Futura Light"
↵