How to create a barcode
I have one problem i need to print a bar code where the number contains like 2001, 2002, 2003,..... n+ so the bar code should be printed and below should be the numbers say me how to create this and how to add the same barcode to jpeg file........ thanks for your help in advance.........
This is one of the links that showed up when I googled for "Java barcode".
Originally Posted by naveen.dpt2007
There is a simple trick!
Friend of mine told me after I spent
a lot of time discovering API for barcode !
Use barcode font :D
I found font for download here:
Barcode Font Font | dafont.com
Extract font from zip you have downloaded,
and paste it in FONTS in your Control Panel (for Windows user)
Now open some text processor, MS Word for example,
write your number 2001, select number and change font to
You will see barcode bars and your number below them :)
Now, to see your number 2001 with this barcode font in browser use this tag:
<p><font face="barcode font" color="green" size = 18>2001</font></p>
If you need more functionality
u can use barcode API called barbecue: