EasyManua.ls Logo

Intermec EasyCoder 201 II - Program Example; Technical Manual

Intermec EasyCoder 201 II
95 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
61
Intermec EasyCoder 201 II – 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 Intermec
Fingerprint 6.0 and the Intermec 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.
FONT "SW030RSN"
PRTXT "HELLO"
LTS& ON
PRINTFEED 10
In Intermec Fingerprint versions earlier than 6.0, the status of the
label-taken sensor must be polled by a PRSTAT function. The same
example as above can be run by a program like this:
10 FONT "SW030RSN.1"
20 PRTXT "HELLO"
30 GOSUB 100
40 END
100 I%=10 :REM I% sets number of copies
110 IF (PRSTAT AND 2) THEN GOTO 110
120 PRINTFEED
130 I%=I%-1
140 IF I%>0 THEN GOTO 110
150 RETURN
RUN

Table of Contents

Related product manuals