Hmm I thought these methods did something...
shipBarCode.setChecksumText(true);
shipBarCode.setGenerateChecksum(true);

According to this site http://www.easesoft.net/Code128-ean128.html 
there is a checksum in the symbology and many others out there do implement it 
for example here it can be checked
http://www.bcgen.com/fontencoder/Default.aspx
by giving it the 73599910000298095 sequence the checksum digit '2' is generated 
while clicking the 'Mod 10' button
brgds
Andreas


--- On Thu, 6/18/09, Paulo Soares <[email protected]> wrote:

> From: Paulo Soares <[email protected]>
> Subject: Re: [iText-questions] How do I generate this specificEAN-128barcode?
> To: "Post all your questions about iText here" 
> <[email protected]>
> Date: Thursday, June 18, 2009, 9:29 AM
> The UCC check digit is related to the
> application and not to the symbology, 
> you must generate it yourself.
> 
> Paulo
> 
> ----- Original Message ----- 
> From: "Andreas Karlsson" <[email protected]>
> To: "Post all your questions about iText here" 
> <[email protected]>
> Sent: Thursday, June 18, 2009 8:01 AM
> Subject: Re: [iText-questions] How do I generate this 
> specificEAN-128barcode?
> 
> 
> 
> Hi again,
> What about the last digit '2' which should be the checksum.
> Shuldn't it be 
> generated automatically?
> /Andreas
> 
> --- On Thu, 6/18/09, Paulo Soares <[email protected]>
> wrote:
> 
> > From: Paulo Soares <[email protected]>
> > Subject: Re: [iText-questions] How do I generate this
> specific 
> > EAN-128barcode?
> > To: "Post all your questions about iText here" 
> > <[email protected]>
> > Date: Thursday, June 18, 2009, 8:21 AM
> > Suppress the automatic text with
> > setFont(null) and write yourself the text.
> >
> > Paulo
> >
> > ----- Original Message ----- 
> > From: "Andreas Karlsson" <[email protected]>
> > To: "Post all your questions about iText here"
> > <[email protected]>
> > Sent: Thursday, June 18, 2009 6:39 AM
> > Subject: Re: [iText-questions] How do I generate this
> > specific
> > EAN-128barcode?
> >
> >
> >
> > Hi,
> > Is there any way to add the spaces to the text so it
> is
> > easier to read?
> > brgds
> > Andreas
> >
> > --- On Wed, 6/17/09, Paulo Soares <[email protected]>
> > wrote:
> >
> > > From: Paulo Soares <[email protected]>
> > > Subject: Re: [iText-questions] How do I generate
> this
> > specific EAN-128
> > > barcode?
> > > To: "Post all your questions about iText here"
> > > <[email protected]>
> > > Date: Wednesday, June 17, 2009, 3:31 PM
> > > 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?
> 
> 
> ------------------------------------------------------------------------------
> 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/
> 


      

------------------------------------------------------------------------------
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/

Reply via email to