Program List
Define Variables and Counters
GK"LOGO"↵
V00,15,N,”Start From”↵ ; variable 00 with a maximum length of 15
GM”LOGO”1024↵
V01,15,N,”Destination”↵ ; variable 01 for destination
…graphics…
C0,6,N,+1,”Ticket no.”↵ ; counter 0, stepped by +1
FK"TICKET"↵
Set Positions
FS"TICKET"↵
The positions are depending on the label dimension and the output format.
V00,15,N,"Start From"↵
q700↵ ; set label width
V01,15,N,"Destination"↵
ZT↵ ; set print direction
C0,6,N,+1,"Ticket no." ↵
GG50,100,”LOGO”↵ ; place “LOGO” to position x=50, y=100
A100,150,0,4,1,1,N,”From”↵ ; fixed text at x=100, y=150, font 4
q700↵
A250,150,0,4,1,1,N,”to”↵ ; fixed text at x=250, y=150, font 4
ZT↵
A200,150,0,3,1,1,N,V00↵ ; variable at x=200, y=150, font 3
GG50,100,”LOGO”↵
A415,150,0,3,1,1,N,V01↵ ; variable at x=415, y=150, font 3
A100,150,0,4,1,1,N,"From"↵
B250,200,0,1,3,3,96,B,C0↵ ; counter using code 128 with bar code
A350,150,0,4,1,1,N,"to"↵
height 96, print digits too
A200,150,0,3,1,1,N,V00↵
Retrieve and Execute
A415,150,0,3,1,1,N,V01↵
B250,200,0,1,3,3,96,B,C0↵
FE↵
FR”TICKET”↵ ; retrieve form “TICKET”
?↵ ; start download of variables and counter
FR"TICKET"↵
New York↵ ; V00 value
? ↵
Mexico↵ ; V01 value
New York↵
100200↵ ; C0 value
Mexico↵
P3,1↵ ; print 3 label sets, 1 copy of each label
100200↵
P3,1↵
Once a form or graphics is stored, you can print labels just by sending a few commands.
72
71
Comments to this Manuals