Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello ,

I've developing a C# app and I'm in a point where I need to change my text to barcodes
and print it

How can I do it?
Posted
Comments
Nelek 18-Nov-12 5:46am    
Please don't think we can read minds or do astral projections to see your monitor. If you need help, the least you could do is to add some relevant code to your question or to explain your problem in such a way, that the users of CP can understand it. Otherwise, nobody will be able to help you.
what have you tried?[^]
Member 8584763 18-Nov-12 5:52am    
I developing point of sale app and I need to print invoice and the invoice must has barcode which is invoice Id?

How can I convert invoice Id to barcode Image?

There are quite a few different ways to do this. You can write your own barcode generator, use existing libraries or get a barcode font. Try some of these Googled links[^].
 
Share this answer
 
Comments
Member 8584763 18-Nov-12 6:23am    
I've barcode font how can I apply it to textbox?
Richard MacCutchan 18-Nov-12 6:43am    
Try the Font property.
Member 8584763 18-Nov-12 6:47am    
how to can I use it?
Richard MacCutchan 18-Nov-12 6:57am    
No idea, what are you trying to do?
Member 8584763 18-Nov-12 7:28am    
I read online if you have a barcode font you can apply it to the text the you have. But I've never used barcode font?
My question is how to use it?
As I understand, you want to print the barcode in an invoice and the barcode will be the invoice ID. This I believe is relatively easy.
There are a lot of articles about how to read/write barcodes.
You can implement your own code to generate a barcode or you can use a library for that.
If you want to use a library, you can use either a commercial library or a free library.
I worked on a solution a while back that used a library called leadtools that was easy to use and fast.
I found the following links that I think might help you.
Barcode Image Generation Library
Write barcode tutorial
SourceForge barcode library
 
Share this answer
 

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