File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Java in General and the fly likes Barcode Reading using Java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Barcode Reading using Java" Watch "Barcode Reading using Java" New topic
Author

Barcode Reading using Java

Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
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.


Ritesh<br /> <br />SCJP 1.4<br />IBM Test 340<br />IBM AIX V4.0 Certified Professional<br /> <br />Right actions for the future are the best apologies for wrong ones in the past.<br />- Tyron Edwards
Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Ritesh Y dont you use .jar file for this.

JBarcodeBean.jar

Hope this would help you. Just gooooogle for it.


Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
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

Joined: Sep 25, 2004
Posts: 156

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

Joined: Sep 28, 2004
Posts: 1228
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 ..


Thanks & regards, Srini
MCP, SCJP-1.4, NCFM (Financial Markets), Oracle 9i - SQL ( 1Z0-007 ), ITIL Certified
Ritesh Agrawal
Ranch Hand

Joined: Jan 08, 2004
Posts: 74
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Barcode Reading using Java