Intermec PC43d Fingerprint Developer's Guide (PC23d, PC43d/t, PM23c, PM43, PM4 - Page 42

To create a startup program, Sending Fingerprint Commands to the Printer on,

Page 42 highlights

Chapter 2 - Understanding Fingerprint Syntax 3 The PUP.BAT file (Intermec Shell) in the read-only part of the printer permanent memory (device "/rom"). The MKAUTO.PRG program is included in the systems part of the printer memory ("/rom/MKAUTO.PRG") and consists of the following lines: 10 OPEN "AUTOEXEC.BAT" FOR OUTPUT AS 1 20 INPUT "startup file name:",S$ 30 PRINT#1,"RUN";CHR$(34);S$;CHR$(34) 40 CLOSE1 Follow the next procedure to create a startup program from an ordinary program: To create a startup program 1 Connect the printer to a host PC and start a communications program on the host PC. For help, see "Sending Fingerprint Commands to the Printer" on page 3 2 Write and test your program. 3 Type SAVE "MyFileName" and then press Enter. The printer returns "Ok". 4 Type RUN "/rom/MKAUTO" and then press Enter. The printer returns: Startup file name: 5 Type the name of the program you just saved (with or without the extension .PRG) and then press Enter. The printer returns "Ok". Your program has been saved as a startup program in the current directory. When you restart the printer, the new startup program will start running, provided there is no other startup program with higher priority as described earlier. 6 (Optional) To undo the operation, type KILL "AUTOEXEC.BAT" and press Enter. This will not erase the original program, but it will no longer be used as a startup program. Note that you cannot KILL startup programs stored in "/rom". 30 Fingerprint Developer's Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163

Chapter 2 — Understanding Fingerprint Syntax
30
Fingerprint Developer’s Guide
3
The PUP.BAT file (Intermec Shell) in the read-only part of the printer permanent
memory (device “/rom”).
The MKAUTO.PRG program is included in the systems part of the printer memory
(“/rom/MKAUTO.PRG”) and consists of the following lines:
10
OPEN “AUTOEXEC.BAT” FOR OUTPUT AS 1
20
INPUT “startup file name:”,S$
30
PRINT#1,“RUN”;CHR$(34);S$;CHR$(34)
40
CLOSE1
Follow the next procedure to create a startup program from an ordinary program:
To create a startup program
1
Connect the printer to a host PC and start a communications program on the
host PC. For help, see
“Sending Fingerprint Commands to the Printer” on
page 3
2
Write and test your program.
3
Type
SAVE “MyFileName”
and then press
Enter
. The printer returns “
Ok
”.
4
Type
RUN “/rom/MKAUTO”
and then press
Enter
. The printer returns:
Startup file name:
5
Type the name of the program you just saved (with or without the extension
.PRG) and then press
Enter
. The printer returns “
Ok
”.
Your program has been saved as a startup program in the current directory.
When you restart the printer, the new startup program will start running,
provided there is no other startup program with higher priority as described
earlier.
6
(Optional) To undo the operation, type
KILL “AUTOEXEC.BAT”
and press
Enter
.
This will not erase the original program, but it will no longer be used as a startup
program. Note that you cannot KILL startup programs stored in “/rom”.