Re: Cakephp with barcode
This is right. Nowadays almost all (except special-purpose ones) emulate a gerenic keyboard device. I have personally coded a barcode generation application in CakePHP, but the reader part was handled by some Air applications. Nevertheless barcode readers do "just throw the string that they've read to the standard input (stdin)". This does mean that you can have a web frontend with some inputs that gets this string and does whatever with it. However there are some things to consider: 1. Most barcode readers that work like this will throw in a carriage return as the last symbol which my result in form submission, if not handled properly. (This as may other features is configurable in the scanner itself.) 2. You should use an autofocus on the field that the reader will populate because otherwise the browser may think that this is an URL to follow and it will do so, because of the carriage return at the end. 3. You should see to that the interface design of the application copes with the restrictions imposed by the usage of this unusual human interface - a barcode scanner. All Barcode scanners have a ROM with some configuration options in it and if you need anything special you should check the documentation for the scanners you're going to use. Regards, Mr. Software Engineer - Barcode Specialist :D On Saturday, 21 July 2012 16:51:59 UTC+3, Ratty wrote: > > 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+unsubscr...@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 > -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Cakephp with barcode
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+unsubscr...@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 -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
Re: Cakephp with barcode
Well, you see there are quite a few ways to produce barcodes (see google for reference) those PHP libraries can easily be used from cakephp to display barcodes the other way around is more difficult. you would need hardware to actually read and process barcodes. a cellphone with a barcode reader app would do the trick which then calls or redirects to an url like /mysite/code/123456 but without actual code or what do tried so far the answer will be as broad as your question. Best Regard Mr. Developer Am Donnerstag, 5. Juli 2012 18:13:36 UTC+2 schrieb Mr. Manager: > > 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php