You are here: Re: barcode « PHP Programming Language « IT news, forums, messages
Re: barcode

Posted by larry on 10/21/06 20:52

madunix wrote:
> I am in the process to create an online form using PHP with DB Oracle
> or MySQL, this form which consist of
> 2x parts personal data and finance data, and it will be filled by the
> users, once the form is filled and submitted ,
> it will be saved to the system as reference and printed as hardcopy it
> could be a pdf or not, but the print format
> will be on A4 format hardcopy with printed random generated (internal
> calculation) bar code printed on the paper.
> Then in the central office through bar code readers the date will be
> retrieved.
>
> Any one implemented this kind of application, if yes how did you
> generate the bar code on the web form
> through php, and which bar code readers did you use in order to access
> and retrieve the data from the form?
>
> Thnaks

If you are doing barcodes you need either to have a common (as in
identifyable by HTML FONT tags) barcode font installed on the clinet
computer or b) use something that generates the barcode graphic on the
server side (either as an attached GIF/PNG or as a PDF documant).

Next problem is when you print the barcode it may be scanable or not
depending on the clinet's printer and drivers (i.e. I have seen wide
variations), even if the print is crisp, sometimes the driver fudges on
the images to fit to page and may change the width of some of the
barcode bars (making it unreadable) so making the codes a larger (or
sometimes slightly smaller) size may help.

As for readters I use keyboard wedge readers (scan the code, it enters
it into the computer as if you typed the alhanumeric value it
represents.) In the US you can get a inexpensive scanner through CDW
i.e. http://www.cdw.com/shop/products/default.aspx?EDC=654453 , this
one is a CCD scanner, which means you have to put the scanner next to
the code to read, others are wand or pen scanners, which you drag
across the code (cheap not great reliability) or laser scanners which
you point and click gun style (best but quite expensive) CCD is in the
mid-range.

Probably the easiest barcode symbology is code 3 of 9 which is an
alpha-neumeric code that can be in a font form (thare are many other
symbologies that are more compact or have comapatibility -UPC- and
usually are more complex to generate). Here is a site that has code
3of9 free in true type form:
http://www.barcodetraders.com/bct_scan_barcode.asp

Using the code in an application you need to think about how you want
it to work, most stores you see the registers just scan one item after
another, which means there is just one text entry field on the screen
(the code) they scan the code with is either a product code (like an im
ID number) or some control code (i.e. coupon - 10% off - maybe says
something like C2006011210, the C tells the computer the entry is a
coupon) anyway a bit of imagination and planning and you can make up
some really cool applications with barcodes.

Hope that helps
Larry

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация