[ic] producing and scanning barcodes

Peter peter at pajamian.dhs.org
Tue Jan 17 17:23:59 EST 2006

On 01/17/2006 08:28 AM, 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.

It should be possible to configure the scanner to send a return after 
each scan as well (thus submitting the form).


More information about the interchange-users mailing list