69
UBI EasyCoder 71 – Programming
Label Sample 1, cont'd.
(Form Edit Mode)
PROGRAMMING EXAMPLES, cont'd.
Continued!
Define Variables
The first variable (V00) has a maximum of 15 characters.
The second variable (V01) has 10 characters and prints in reverse.
The third variable (V02) has maximum 8 characters.
Command
Explanation
V00,15,N,"Enter Product name:"
↵
Define first variable
V01,10,L,"Enter Model number:"
↵
Define second variable
V02,8,N,"Checked by:"
↵
Define third variable
The text within quotes are prompts, which will be sent from the
printer to the host when the label form is retrieved (serial printer
only).
Define Counter
The counter has maximum 6 digits.
Command
Explanation
C0,6,L,+1,"Enter Serial Number:"
↵
Define counter
Note:
The variables (V00, V01, V02) and counter (C0), are defined within
this label form named TEST. The next label form containing
variables and counters, will again start with V00 and C0.
If variable data is being sent from an external data base, delete the
text between the quotes and replace with a space character, e.g.
V00,15,N," " .
Define Label Size
The media size for this example is a die cut direct thermal label,
3.00" (76.2 mm) tall, 4.00" (101.6 mm) wide with a label gap of .12"
(3.0 mm). These values will determine correct Q value setting.
Command
Explanation
Q610,24
↵
Set label size