74
Below find the entire program listing for the Example.
Command
Explanation
↵
CR/LF to start command structure
FK"TEST"
↵
Delete current form named TEST
FS"TEST"
↵
Start store form named TEST
V00,15,N,"Enter Product name:"
↵
Define 1:st variable
V01,10,L,"Enter Model number:"
↵
Define 2:nd variable
V02,8,N,"Checked by:"
↵
Define 3:rd variable
C0,6,L,+1,"Enter Serial Number:"
↵
Define counter
Q610,24
↵
Set label size
R40,0
↵
Set reference point
S2
↵
Set speed
D5
↵
Set darkness
ZB
↵
Print rotation
X0,0,4,752,584
↵
Draw a box
LO0,144,752,4
↵
Draw a line
LO440,232,4,160
↵
Draw a line
A456,48,0,5,1,1,N, "UBI"
↵
Write a text line of fixed data
A40,400,1,1,1,1,N,"Made in Sweden"
↵
Write a 90˚ text line of fixed data
A24,160,0,5,1,1,R,V00
↵
Write 1:st variable text field
A24,250,0,4,1,1,N,"MODEL: "V01
↵
Write text line, fixed data + 2:nd variable
A472,312,0,4,1,1,N,"Checked by: "V02
↵
Write text, fixed data + 3:rd variable
A24,312,0,4,1,1,N,"SERIAL#: "C0
↵
Write text line, fixed data + 1:st counter
B280,440,0,1,2,3,96,B,"S"C0
↵
Write barcode, fixed data + 1:st counter
GG24,12,"UBI"
↵
Write graphic from graphics memory
FE
↵
Closing command to store form
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd.
(Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!