Your code is correct except for the FNC1 that is put automatically and couldn't be put like that, anyway. The checksum will also be generated automatically.
Best Regards, Paulo Soares ----- Original Message ----- From: "Brook Stevens" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, June 24, 2003 18:38 Subject: [iText-questions] Barcode Question > I am new to bar-coding and am a little confused by all of the different > classes relating to barcodes. I need to use a UCC/EAN Code 128 barcode, > I am not sure whether this means I use the BarcodeEAN class, or use a > Barcode128 and set the FNC1 text myself, something like: > > Barcode128 code = new Barcode128(); > code.setCodeType(code.CODE128_UCC); > code.setCode(Barcode128.FNC1 + pText); > > Also does the Barcode128 generate either a mod 103 or mod 10 check, or > do I have to do these myself as well? > > Any help is greatly appreciated. > > -Brook > > ------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
