Codabar Gives Error! [Resolved]

Posted by Coolbharat under ASP.NET on 12/12/2013 | Points: 10 | Views : 1009 | Status : [Member] | Replies : 2
I am using ITextSharp to generate barCode.But this Codabar is giving error that "Codabar must have one of 'ABCD' as start/stop character".Please help me on this.

BarcodeCodabar codeaBar = new BarcodeCodabar();
codeaBar.CodeType = Barcode.CODABAR;
codeaBar.ChecksumText = false;
codeaBar.GenerateChecksum = false;
codeaBar.StartStopText = true;
codeaBar.Code = barcodeText;
System.Drawing.Bitmap bm = new System.Drawing.Bitmap(codeaBar.CreateDrawingImage(System.Drawing.Color.Black, System.Drawing.Color.White));
bm.Save(context.Response.OutputStream, System.Drawing.Imaging.ImageFormat.Gif);




Responses

Posted by: Makaveiljojo on: 12/15/2013 [Member] Starter | Points: 50

Up
0
Down

Resolved
Check this out, generating Codabar in NET.
http://www.keepautomation.com/products/net_barcode/barcodes/codabar.html

Coolbharat, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: vishalneeraj-24503 on: 12/12/2013 [Member] [MVP] Platinum | Points: 25

Up
0
Down
Refer:-
http://www.afterlogic.com/mailbee-net/docs-itextsharp/
http://www.barcodeisland.com/codabar.phtml

Coolbharat, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response