Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
1.00/5 (4 votes)
See more:
I am Having scenario Where i have to generate barcode for a particular pattern, so can any one suggest the relative answer or any link!!!
Posted
Comments
Dave Kreskowiak 16-Jul-12 12:54pm    
Nope. You haven't said what barcode format you're looking for nor have you speicifed what you mean by "a particular pattern".

Generally, making a barcode is as simple as changing fonts. Search Google for the proper font for the barcode you want, create whatever convent it's supposed to have, and change the output to use that font.
 
Share this answer
 
For commercial products you can purchase barcode fonts. Or if you prefer not to spend money and user your own programming talents you can do like I did and research the barcode specifications and write your own code to generate the barcodes as a bitmap that you can then apply to images. I have a class that can generate Code 128, Code 3of9, Interleaved 2of5 and a couple others. It really isn't to difficult once you learn the specifications.

Some font links...

http://www.barcodefonts.net/[^]

http://www.idautomation.com/fonts/[^]

Some specification links

http://en.wikipedia.org/wiki/Barcode[^]

http://en.wikipedia.org/wiki/Code_39[^]

http://en.wikipedia.org/wiki/Code_128B[^]
 
Share this answer
 
I know a third-party toolkit named leadtools. This toolkit can write many types of barcode. To get started, you can check the code snippet in the following page:
Writing Barcodes
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900