Click here to Skip to main content
15,884,176 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi I want to print a barcode in cystal report.
I have a text in crystal Report ,its font is barcode 128NR.I can print the output of crystal,and the font of text is correct.But the barcode reader can not read the barcode which is printed.
what can i do?
Posted
Comments
KaushalJB 24-Jun-14 6:37am    
Update your question by giving the link of the image ? Some times font size matters in reading the barcode.
Sampath Lokuge 24-Jun-14 7:05am    
Check this link.May be helped to you. http://www.barcoderesource.com/crystalreportsbarcode.shtml
maliheSadat 28-Jun-14 1:33am    
I read this page before. but the problem is part 5,which use "CR_Formula.txt".
where is this formula?

My guess is you didn't format it correctly. 128 has special characters, you can't just use the 128 font and expect it to be read by a barcode reader.
 
Share this answer
 
Comments
maliheSadat 28-Jun-14 1:39am    
what do you mean by format? would you please explain more?
The short answer is that, in general, "Fonts" are not suitable for real world barcode printing scenarios. Anyway, post your report output in pdf format so I can take a look at it and tell you what's wrong with it.
 
Share this answer
 
Hello

Use the below process to print bar code in the crystal report.

1) Generate bar code and create image file of generated bar code.

2) display the created image of bar code on the crystal report.
 
Share this answer
 
Comments
maliheSadat 27-Oct-14 8:16am    
generating barcode is not a good way,beside saving image of it in database isnot a suitable way too!
Member 10508337 8-Sep-23 9:49am    
I just did what CB Sharma speciied. However I wass unable to save the image as file. Its ben the whole day gone waste

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