On 05/07/12 17:13, Mr. Manager wrote:
Dear All,
If everyone know the solution to deal with my issue is that I would like to build an application that manage product with cakephp and also use with barcode, the requirement is that I want to generate barcode for products with respect to their id and also read barcode from barcode scanner and process in the application to show data of the product and calculate the price for invoicing.
I am looking forward to hearing good news from all of you as soon as possible.
Best Regard,
Mr. Manager,
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Do you mean a hand scanner as in a scanner that plugs into a USB ?
If that is the case, they usually emulate a USB keyboard, so all you need is an input field. I have used this in a book application in which the ISBN or EAN barcode on the back of the book is scanned. The barcode reader decodes the barcode for you as long it is a supported format and sends you the characters it finds. This gives you the flexibility of either entering the barcode characters by hand or scanning them which can be useful if your scanner breaks !
For Generation there is a helper published at the bakery that looks pretty comprehensive and it just requires the GD php extension.
http://bakery.cakephp.org/articles/ixu38/2010/04/30/barcode-helper
No comments:
Post a Comment