> -----Original Message-----
> From: Erik Turesson [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, February 03, 2003 13:22
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] Barcode question
>
> Hello!
>
> I would like to create a barcode using iText. I manage to create a barcode
> but as I do not know anything about barcodes I can not verify that it is
> correct according to my requirements.
>
> My barcode has the following requirements:
> Code 128 according to EN799
>
Ok.
> Characterset C (i.e. double dencity)
> Start character C
> Stop character I do not know, is it depending on the start character?
>
It will always use the most efficient encoding. If only numbers will
be encoded then charset C will be used.
> Checksum shall be generated
>
That's mandatory.
> The qualitylever shall be Overall Symbol Grade B according to ISO 15416
>
That depends on the printing quality. It has nothing to do with
iText.
> Max barcode length is max 55 mm.
> Barcode height at least 7 mm.
>
> My code so far looks like this:
>
> Barcode128 code128 = new Barcode128();
> code128.setCodeType(code128.CODE128);
> code128.setBarHeight(20);
> code128.setGenerateChecksum(true);
>
Not needed.
> code128.setCode("12345 6789");
>
There's a space in the code. It won't be only charset C.
> Image image128 = code128.createImageWithBarcode(cb, null, null);
> cb.addImage(image128,image128.width(),0,0,image128.height(),psize.left()+2
> 30
> ,psize.bottom()+120);
>
> What more do I have to do to meet my requirements?
>
You have everything.
Best Regards,
Paulo Soares
> /Erik
>
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions