• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

barcode in jsp

 
jothish karun
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to display a barcode (128 sysmbology) through jsp.Are there any libraries available which i can use in my code.Please send me the link or code.
 
swyatt
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give this URL a try.
http://www.bokai.com/BarcodeJSP/
 
Tim Holloway
Saloon Keeper
Posts: 18300
56
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Barcodes are graphical constructs, so JSP's have no inherent support of them. You have 2 options for barcodes:
1. Build up the code sequence as a graphics image to be downloaded by the user.
2. Assure that the user (client) has the appropriate barcode as a font and output HTML that selects that font at the place on the page that the barcode should appear.
Actually, I presume that somewhere this barcode is expected to be printed, since I don't know many people who run barcode readers over their monitors. Assuming such a case, you may find it convenient to build the barcode in a PDF document - which is less likely to have its output come out unusable than either of the 2 methods I listed above.
 
jothish karun
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Actually it is true that the barcode is useful only if it is printable and is then read using the barcode reader.We are developing a bill report for one of our clients where a barcode (128 symbology) also should be displayed....so that end user can take a printout from his house and pay the bill.We are implementing the application on Linux machine (using Apache-Tomcat)
If there are fonts like you have suggested are they freely distributable?? Or do we have an option where we can make an image of the barcode from the server-side and just show it through a jsp page??
Free or low-priced solutions are preferable as we are doing a trial implementation for our product and would like to keep the cost to the bare minimum
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic