Barcode

Hi all,

Has anyone got any ideas about where to get some C code to read a barcode?

Ive got a pen but dont know what to plug it to.

Parents
  • You need to supply quite a lot more information than that.

    A lot of bar code readers emits then bar code as ASCII text on some form of serial interface (PS/2, RS-232, USB, ...)

    The manufacturer of the bar code reader normally have data sheets that describes exactly what variants of bar codes the reader can handle, and exactly the format of the messages sent out. Without such a datasheet, it will be up to you to figure out format and framing of the data.

Reply
  • You need to supply quite a lot more information than that.

    A lot of bar code readers emits then bar code as ASCII text on some form of serial interface (PS/2, RS-232, USB, ...)

    The manufacturer of the bar code reader normally have data sheets that describes exactly what variants of bar codes the reader can handle, and exactly the format of the messages sent out. Without such a datasheet, it will be up to you to figure out format and framing of the data.

Children
More questions in this forum