5 Years
Discussion Span
Last Post by straw77berry

actually you can download the barcode scanner API or SDK from the manufacturers website


if you install an barcode scanner, you can have tutorial and samples there to teach how to use barcodes and scan barcode data<URL SNIPPED>. or you can google for class,pretty simple.

Edited by peter_budo: Do not post commercial stuff


Most scanners generate ascii strings of the code, so basically you only need to open the port and use normal stream I/O to gather the data.


this question is almost a year old and the OP never returned, so I think it's safe to say she won't read any future replies.


hello, It really depends on how you want the barcode scanner to connect to the system later on.
There are scanners that just use keyboard emulation. In that case you don't need to do anything (just make sure the right input box is active when expecting barcode input). Other scanners connect to the system through a serial port emulation (for example, there's an USB to serial driver for Symbol/Motorola and Datalogic gun scanners). In that case, you open the serial port in Java and get scanner input as serial data. To simulate this, you'd have to connect your PC to another PC using a cross-over RS232 cable and could then use Hyperterminal/Putty/[whatever there is on linux or other OSs] to send data to your PC over the serial cable.

Edited by happygeek: spam removed

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.