[ic] producing and scanning barcodes

doug1 at ultimatepassage.com doug1 at ultimatepassage.com
Wed Jan 18 00:06:47 EST 2006



On Tue, 17 Jan 2006, Daniel Collis-Puro wrote:

> Duane Hinklley wrote:
>
>>  Peter,
>>
>>  I wrote a module for a client using the PDF::Report module.  I can't
>>  donate it since it was work for this client, but the PDF::Report did most
>>  the work.
>>
>>  Since the barcode scanner normally interfaces directly to the keyboard, to
>>  recieve items you just need a special admin page that allows you to enter
>>  the sku.  You scan the item and the scanner puts the sku in the field.
>>  When submit is clicked, it adds it to the inventory (ie increments the
>>  inventory value in the inventory table).
>>  If you have control over what the item barcodes look like, you could make
>>  them all a fixed width like 12.  Then on the special page to recieve the
>>  item, you can add some javascript that automatically submits the page
>>  after the 12 character.  That way each item you scan would automatically
>>  submit the page.  So you don't have to touch the keyboard.
>
> You can encode <return>, <tab> and other ASCII codes in "code 128" barcodes, 
> so you don't need to go Javascript to submit forms.
>
> -DJCP

Actually depending on the bar code scanner you use, you can program the 
scanner to automatically append a <return> or <tab> at the end of the 
barcode so you don't have to use code 128 (although code 128 is an 
excellent choice).

Bruce


More information about the interchange-users mailing list