Barcode scanners

This is a discussion on Barcode scanners within the Networking/Device Communication forums, part of the General Programming Boards category; I'm interested in making a program (in c++) that will need to read product bar codes. So, I just need ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    1

    Question Barcode scanners

    I'm interested in making a program (in c++) that will need to read product bar codes. So, I just need some general information about interfacing with a barcode scanner (I'll only need the numerical part of the barcode, in order to identify a product) in a c++ program. If I have it plugged into the ps/2 port, then do I treat it like a keyboard?

    Thanks
    Last edited by sarbruis; 05-10-2005 at 04:43 PM.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,265
    If it's plugged into the ps/2 port, then it will probably work like a keyboard. When the scanner reads in a barcode, it will send the number followed by a newline or carriage return (or both). This makes it very easy to capture barcodes with your application.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Assignment output help
    By Taka in forum C Programming
    Replies: 13
    Last Post: 09-24-2006, 12:40 AM
  2. what windows api would be used with virus scanners
    By Anddos in forum Windows Programming
    Replies: 5
    Last Post: 08-26-2006, 03:25 AM
  3. Replies: 3
    Last Post: 04-04-2002, 05:27 PM
  4. Need help for Read 2 Dimention barcode from image
    By ooosawaddee3 in forum C Programming
    Replies: 2
    Last Post: 01-28-2002, 09:23 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21