39
UBI EasyCoder 401 Linerless – Technical Manual
Program Example
LABEL-TAKEN SENSOR, cont'd.
The LTS can be enabled or disabled by means of the instructions
LTS& ON
and
LTS& OFF
respectively (introduced with UBI Finger-
print 6.0 and the UBI Direct Protocol). Here is an example on how
the label-taken sensor is used to control the printing of a ten-label
batch printing job. A new copy will not be printed until the pending
label has been removed.
IMMEDIATE OFF
FONT "SW030RSN"
PRTXT "HELLO"
LTS& ON
PRINTFEED 10
The LTS fitted inside the cutter on an EasyCoder 401 LLC can be
used for detecting paper jams by means of a few lines in a UBI
Fingerprint program, as illustrated by the following example:
IMMEDIATE OFF
'Init
QJAMWAIT%=150
(see note)
OPTIMIZE "BATCH" ON
.....
'MAIN LOOP
W%=TICKS+QJAMWAIT%
PF
.....
WHILE (TICKS<W%) AND (NOT(PRSTAT AND 2))
.....
WEND
IF NOT (PRSTAT AND 2) THEN GOSUB JAMHANDLER
.....
JAMHANDLER:
BEEP
RETURN
Note:
If necessary, adjust value of QJAMWAIT% variable to obtain
proper jam detection.
NOTE!
This chapter also applies to the label-
taken sensor fitted inside the cutter of
the EasyCoder 401 LLC
Paper Jam Detection
in Cutter
NOTE!
This chapter only applies to the label-
taken sensor fitted inside the cutter of
the EasyCoder 401 LLC