71
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd.
(Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Draw a Box and a Line
Start to draw the surrounding box using the X command and then
draw the two lines using the LO command.
Command
Explanation
X0,0,4,752,584
↵
Draw a box
LO0,144,752,4
↵
Draw a line
LO440,232,4,160
↵
Draw a line
Note:
The closest vertical print starts .04" (1.0 mm) from the edge of label.
The printer also assumes that the closest point to the other edge of
the label is .06" (1.5 mm). This means, maximum vertical location
of any imprint is Q value - 16 dots. Thus, placing an object closer
then this can cause a printer error condition.
Place a Text Line with Fixed Data
Enter a text line containing the fixed data "UBI", in text size 5 (the
largest size). The quotation marks enclosing the fixed data will not
be printed. Write a 90 degree text line with the text "Made in
Sweden". The text size (1) is the smallest resident font in the printer.
Command
Explanation
A456,48,0,5,1,1,N,"UBI"
↵
Write a text line, fixed data
A40,400,1,1,1,1,N,"Made in Sweden"
↵
90 deg. text line, fixed data
Place a Variable Text
The next line is a text line, using text size 5 in reverse and prints the
variable V00. The data printed in this field must be sent to the printer
at the time of form retrieval.
Command
Explanation
A24,152,0,5,1,1,R,V00
↵
Write a text line, 1:st variable
Place a Combination of Fixed Data and a Variable
The following two command lines consist of a combination of fixed
data enclosed in quotation marks and variable data.
Command
Explanation
A24,250,0,4,1,1,N,"MODEL: "V01
↵
Text line, fixed data + 2:nd variable
A472,312,0,4,1,1,N,"Checked by: "V02
↵
Text line, fixed data + 3:rd variable
Continued!