Example Scanner Application - Intermec PENKEY 6100 Programmer's Reference Manual

Hide thumbs Also See for PENKEY 6100:
Table of Contents

Advertisement

SECTION 2
Configuration
Required CONFIG.SYS Entry
device=elanapm.exe
device=nordospm.exe
Options
Switches
Description
Usage
61PODSCN –E –A2 –K16
E
A2
K16

Example Scanner Application

#include <dos.h>
#include <stdio.h>
#include <conio.h>
void main (void) {
}
n
int c;
//
_AH = 0x80;
// collect only one scan – 4500 compatible
//
geninterrupt(0x7a); // thread thru scan tsr
//
while ((c != '\n') && (c != '\r')) {
while (kbhit()){
c = getch();
putchar(c);
if (c == '\n' || c == '\r') break;
}
}
R
PEN*KEY
6100 Computer Programmer's Reference Guide
Supporting DOS Applications
n
2-9

Advertisement

Table of Contents
loading

Table of Contents