[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ic] producing and scanning barcodes




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
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.