This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Barcode Reading using Java

 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I m looking for a free/open source Bar code reader API in Java. I want to design an application which can read PDF files and pick barcode from within it and then interpret them and give me the numerical code. One such application cum API I found at http://www.tasman.co.uk/. But this is not free. I have kept it as a last resort, if nothing is available free. And moreover, it seems to be the only package available today which can read barcodes from PDF files. Please prove me wrong and let me know if other similar packages are available.
 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ritesh Y dont you use .jar file for this.

JBarcodeBean.jar

Hope this would help you. Just gooooogle for it.
 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Anand,

Thanks for the info. But I am not looking for some API which generates the Barcode. I am looking for something which reads the Barcode embedded as an image in a PDF file and gives the numeric value embedded into it. I am afraid but the JBarcodeBean package just generates the Barcode in gif format. It can not read an existing barcode and interpret the value.
 
Anand Karia
Ranch Hand
Posts: 156
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ritesh

We make software that generate barcode from above defined beans. As far as reading the barcode, we are using a device that read barcode and give us into notepad.


You can get that barcode into textField.

I have no idea how can you get value from .pdf file without using any device.
 
Srinivasa Raghavan
Ranch Hand
Posts: 1228
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why do you need a API for reading the bar code ?
Even we use barcode reader in our Jsp's ..
If the Cursor is in a editable field and the barcode is read using the reader then automatically the barcode String will be present in the editable file..
Try using notepad ..
 
Ritesh Agrawal
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I need a barcode reader API for following reasons.

1. I receive a PDF or JPEG or any other Image file electronically via e-mail which might contain some Bar Code Image in it. I need to write a Java Application which can read that image file and pick the Barcode in it.
2. The application , after picking up the barcode, should be able to decipher the value coded within it.

I dont want to use any physical device to read the barcode. I know this is possible. I have seen few packages available which do that. But they are not free and moreover the source is not available. So I can not use them to my need.For ex. as I mentioned about the tool available at http://www.tasman.co.uk/

You can try this tool and understand what I mean and need.

Thanks for all the help.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic