Thanks for the help. Barcode39 b = new Barcode39(); b.Code = "this is a test"; b.Extended = true; b.GenerateChecksum = true; b.ChecksumText = true; // everything works fine if this is set to false Image i = b.CreateImageWithBarcode(cb, null, null);
- Mitch -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paulo Soares Sent: Thursday, May 03, 2007 10:46 AM To: Post all your questions about iText here Subject: Re: [iText-questions] Code39 Extended & Checksum What's your code? Paulo > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Mitch Freed > Sent: Thursday, May 03, 2007 5:37 PM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Code39 Extended & Checksum > > So if my barcode text were: > > this is a test > > And I have the barcode setup to generate and show the checksum text, > should I get an error? I get an error stating > that: The character 't' is illegal in code 39. > > Shouldn't it be allowed under the extended 3of9 barcode? > > - Mitch > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Paulo Soares > Sent: Thursday, May 03, 2007 10:25 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] Code39 Extended & Checksum > > That's correct. The barcode 39 extended is just a convention where the > $, /, %, and + symbols act as "shift" characters. > The checksum is done over the "normal" symbols, before interpretation > by the reader. > > Paulo > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Mitch Freed > > Sent: Thursday, May 03, 2007 4:52 PM > > To: Post all your questions about iText here > > Subject: [iText-questions] Code39 Extended & Checksum > > > > When generating the checksum for a 3of9 extended barcode, > it doesn't > > seem to be allowing for the extended charset in the checksum. The > > GetChecksum(string text) method in Barcode39.cs is looking > at the 3of9 > > charset and not the extended. Is this how that should be > working, or > > is that a bug? > > > > Mitch Freed > > Email: [EMAIL PROTECTED] > > <mailto:[EMAIL PROTECTED]> Aviso Legal: Esta mensagem é destinada exclusivamente ao destinatário. Pode conter informação confidencial ou legalmente protegida. A incorrecta transmissão desta mensagem não significa a perca de confidencialidade. Se esta mensagem for recebida por engano, por favor envie-a de volta para o remetente e apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de usar, revelar ou distribuir qualquer parte desta mensagem. Disclaimer: This message is destined exclusively to the intended receiver. It may contain confidential or legally protected information. The incorrect transmission of this message does not mean the loss of its confidentiality. If this message is received by mistake, please send it back to the sender and delete it from your system immediately. It is forbidden to any person who is not the intended receiver to use, distribute or copy any part of this message.
Program.cs
Description: Program.cs
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/