DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   barcode reader (http://www.daniweb.com/forums/thread7012.html)

DARKSTAR Jun 14th, 2004 3:31 pm
barcode reader
 
hi ..........
how can i simulate the barcodes without a barcode reader.

Killer_Typo Jun 14th, 2004 3:42 pm
Re: barcode reader
 
i dont follow you. do you mean like a barcode generator?

like this?

http://www.barcodesinc.com/generator/index.php

DARKSTAR Jun 15th, 2004 3:43 pm
Re: barcode reader
 
sir actually i wana check that the barcode i have generated are valid or not... i dont have barcode reader and i just want a simulation of that.

gusano79 Jun 15th, 2004 8:29 pm
Re: barcode reader
 
Quote:

Originally Posted by DARKSTAR
sir actually i wana check that the barcode i have generated are valid or not... i dont have barcode reader and i just want a simulation of that.

Simplest way to check actual barcodes without a reader is to find a barcode generation service--like the one Killer_Typo suggested--for the barcode symbology you're implementing (e.g. UPC, EAN). Then put the same numbers into both your program and the generator service and see if they come out the same. Of course, this only works if you trust the third-party barcode generator.

If all you're checking is that the numbers fit the barcode scheme (e.g. checksums are correct), you're really just checking that you've actually implemented the algorithm correctly. Try working through the algorithm by hand for a few sets of numbers to see if your program comes up with the same thing. Even better, find a few real barcodes and check those against what your program does with them.

bitapple Apr 17th, 2008 6:48 am
try on java barcode reader library
 
you can try java barcode reader library which is a pure java library to recognize barcode data from barcode images. and it supports more than 20 linear and 2d barcode types. i think you can use it to verify your generated barcode image is right or not.

jasimp Apr 17th, 2008 7:08 am
Re: barcode reader
 
This thread is almost four years old. They are long gone and probably don't need an answer.


All times are GMT -4. The time now is 2:35 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC