Intermec 6200 参考指南

下载
页码 410
SECTION 2
Supporting DOS Applications
PEN*KEY
R
 6200/6300 Hand-Held Computer Programmer’s Reference Guide    2-17
Installation Options
SCANTSR recognizes the following /option:value pairs:
For both the tethered and integrated scanners:
/ss:1
Fix" the SystemSoft bugs that NPOWER normally fixes.  SCANTSR must
be loaded after NPOWER and any CardSoft drivers and TSRs used.
For the integrated scanner only:
/aim:nnn
Set the aiming beam duration (in milliseconds) for the longĆrange
integrated scanner.  The aiming beam is a narrower, brighter scan,
allowing the user to position the scanning beam correctly.  Note during the
aiming time, no symbology decoding is attempted.  This option does not
result in a narrower, brighter, beam on the standard range integrated
scanner; but it still has the effect of not decoding the symbology while
aiming.  It should not be used with a standardĆrange scanner.
Example
/* This scanner testware enables scanner, then displays the DOS
   keystrokes until the return or newline character is encountered,
   where we exit.
*/
#include <dos.h>
#include <stdio.h>
#include <conio.h>
void main (void) {
int c;
delay(250);
// do not accidentally see the enter key that
// launched the test program as the user’s
// desire to enter the symbol manually
_AH = 0x80;
// collect only one scan — 4500 compatible
geninterrupt(0x7a);
// enable scan tsr
for (;;) {
// look for keystrokes until \n
while (kbhit()) {
// or \r
c = getch();
putchar(c);
if (c == ’\n’ || c == ’\r’) break;
}
if (c == ’\n’ || c == ’\r’) break;
}
}
2. DOS 
Applications