Programming instructions

155
Intermec Fingerprint 6.13 – Programmer's Guide
15. PRINTER FUNCTION CONTROL, cont'd.
7. System Variables,
cont'd.
Parameter 19 is used for returning or selecting one of four types of
error messages, see chapter 16.1.
Parameter 20 checks if the printer is printer is set up for direct
thermal printing or thermal transfer printing, which depends on the
choice of paper type in the Setup Mode, see the Technical Manual.
Parameters 21 and 22 are used to check the printhead in regard of
printhead density and number of dots respectively. Together with
parameter 20 and the VERSION$ function, see chapter 15.11, these
parameters allows the program to identify different printer models.
Thereby it is possible to design programs that will work in all
EasyCoder printers.
Parameter 23 checks the status of the ribbon end sensor in thermal
transfer printers.
Parameter 24 is useful, when certain data, e.g. date and time
formats, are not generated as a part of the program execution. Since
such data are stored in the no-save area of the RAM memory, they
will be lost at power-up or reboot. Using SYSVAR(24), the printer
can be polled for power-ups, so lost data can be renewed.
For detailed explanations, please refer to the Intermec Fingerprint
6.13 Reference Manual.
Example showing how the error type is set from the host and the new
setting is read back:
10 INPUT "Error type: ", A%
20 SYSVAR(19)=A% (sets error type)
30 B%=SYSVAR(19) (reads error type)
40 PRINT "The error type is set to: "; B%
RUN
Yields e.g.
Error type: 2
The error type is set to: 2