Set the code type to CODE128_UCC and set the code to "(8018)735999100002980952". This is in the javadoc. The code may not have the same bars but it will decode the same.
Paulo > -----Original Message----- > From: [email protected] [mailto:[email protected]] > Sent: Wednesday, June 17, 2009 2:03 PM > To: [email protected] > Subject: [iText-questions] How do I generate this specific > EAN-128 barcode? > > Hi folks, > I've been trying to use iTex to generate this attached EAN > code (hope attachements are allowed) with the code pasted > below but without success. > I think I had success on an online barcode generator getting > this result: > http://www.bokai.com/Barcode.Net/BarcodeHandler.aspx?BarcodeTy > pe=EAN128C&Data=8018735999100002980952&BarWidth=1&Height=40 > > > - First of all the bars do not agree. > - Second the checksum digit "2" isn't display even though it > seems so in the code: > shipBarCode.setChecksumText(true); > shipBarCode.setGenerateChecksum(true); > > I have som info about the barcode: > The barcode is built as: > 1. Quite part > 2. Start code (A, B, C), use C to optimize the code if it's > an even number of digits. > 3. FNC1 > 4. Data field AI (8018) 735999 FFF PPPPPPPP K (K=Checksum > digit EAN´s modul 10) > 5. EAN Symbol checkdigit (after the checksum digit) > 7. Stop code > 8. Quite part > > > Any hints on how to produce this barcode? > > > > > 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. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
