Reading bar codes in C

John Mundt john at chinet.chi.il.us
Sat Jun 9 03:31:53 AEST 1990


In article <1875 at cybaswan.UUCP> csnuttge at cybaswan.UUCP ( k nuttgens) writes:
>Does anyone have experience of reading bar codes using C. I want to 
>use either Turbo C or Microsoft C to read bar codes into Paradox (using
>the Paradox engine). 

Not your problem!

This is something that is generally done transparently for you by the
barcode widget.  Whether you have a light pen or a laser scanner, the
input comes from a black box which transfers what the light pen read 
into ASCII.  Most of the black boxes sit between the terminal and the
computer, or the keyboard and the computer, and pass data between the
two constantly unchanged.  When the light pen reads something, it is
put onto the input stream as if it had been typed at the terminal.

The black box will put a header string or trailer string onto the
data read by the reader if you wish to distinguish between keyboard
and light pen.

Or, if you want to be difficult, it can be output to an RS232 port
which you can read to see if any data has come in.

A good company for this, with good equipment (plug coming and I don't
work for them, but like their stuff) is Worthing Data, 417-A Ingalls
Street, Santa Cruz, CA 95060 (408-458-9938).  

If you want to print barcodes, Symbologic, PO Box 4749, Cerritos, CA
90703 offers source code for $79 that you can incorporate into your
programs.  213-926-2823.
-- 
---------------------
John Mundt   Teachers' Aide, Inc.  P.O. Box 1666  Highland Park, IL
john at admctr.chi.il.us *OR* fred at teacha.chi.il.us
(312) 998-5007 (Day voice) || -432-8860 (Answer Mach) && -432-5386 Modem  



More information about the Comp.lang.c mailing list