Thread: Barcode scanners

  1. #1
    Registered User
    Join Date
    May 2005

    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?

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

  2. #2
    Registered User
    Join Date
    Sep 2004
    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-23-2006, 11:40 PM
  2. what windows api would be used with virus scanners
    By Anddos in forum Windows Programming
    Replies: 5
    Last Post: 08-26-2006, 02: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