Thread: how to deals with Bar Code

  1. #1
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161

    Question how to deals with Bar Code

    hi all, im so happy to be here again . and im glad with the new additions
    im intending to write a program that deals with bar code, and i have got some info. about it. but i still in info shortage

    the program supposed to convert serial codes into bar codes and print it on stickers , then it supposed to read the bar code using scanner and convert it to serial codes of goods.

    any ideas or hints will be so much appreciated
    thx all
    Programming is a high logical enjoyable art for both programer and user !!

  2. #2
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Search the ... web.

  3. #3
    Registered User
    Join Date
    Sep 2001
    Posts
    305
    yeah... i doubt that anyobdy has even a clue. isnt the scanner an input device?

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    Tough one...

    Here's a link that might get you started. (FYI - I remembered seeing this link at www.wotsit.org)

    As far as reading bar-codes from a scanner, the scanner should come with drivers to input and convert the bar codes into something you can use. Unless you are building the scanner, you probably have no chouce but to use the manufacturer's driver. That driver is going to determine how you get the info into your program.

    On the print-output side, there are bar-code printers that also include drivers. You send a number, and it prints a bar-code. Of course, you have to tell it which bar-code format you're using.

    [EDIT]
    I was thinking of a bar-code scanner... are you talking about a general-purpose image scanner ? That would require some really advanced image recognition algorithms!
    Last edited by DougDbug; 06-10-2003 at 07:56 PM.

  5. #5
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    thx all for responding
    yes DougDbug im talking about bar code scanner , doing it with general purpose scanner >>>> woow thats a real hard work, i think

    as u tried to help me, i like to share the info i ve with :
    i got an ActiveX component that works in any environment supports ActiveX just like VC++6.0 (which i use) , this ActiveX component does alot of the job it converts the numbers into a bar code (the type of bar code u r using ) , and easilly i can print it, but im not sure it ll help when i read the bar code

    thers another solution , i found, i can use a font which was made specifically for barcode this font do the same work (notice that this font u ll ve to use it in the graphical environment of VC or VB for example)


    thx for the link , ill look there

    thx all again :-)
    Programming is a high logical enjoyable art for both programer and user !!

  6. #6
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398

    I remembered something driving home last night...

    My former employeer worked on a project a couple of years ago (we didn't write any software) where we wanted to add a scanner to a non-barcode application. The scanner came with software and drivers that would write the scanned-in bar code onto the keyboard buffer. So, whenever the application would ask for a part number, you could key it in, or scan it.

    I don't remember the manufacturer of the scanner.

  7. #7
    looking for the truth moemen ahmed's Avatar
    Join Date
    Feb 2002
    Location
    Egypt
    Posts
    161
    i ve met today a sell's man from a company that will support me with equipments and drivers of the scanner of bar code, while i ll write the program that will be like a manager for big stores and super markets. the driver does it all , as u said DougDbug, that ll make my work much easier.

    thx for responding again :-)
    Programming is a high logical enjoyable art for both programer and user !!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Proposal: Code colouring
    By Perspective in forum A Brief History of Cprogramming.com
    Replies: 28
    Last Post: 05-14-2007, 07:23 AM
  2. anyone here hate when foo bar baz is used in example code?
    By shintaro in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 09-26-2006, 07:07 AM
  3. Updated sound engine code
    By VirtualAce in forum Game Programming
    Replies: 8
    Last Post: 11-18-2004, 12:38 PM
  4. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM