I need to make sure my start character is a B and my stop character is a D for 
a codabar barcode.  Here is the code I am using now, but I know it is 
incorrect.  I think that I wasn't supposed to put the B and D into the stream 
but I do not see anything in the API that lets me adjust the stop and start 
characters.  I'm told that the start character is a C on the barcode that is 
being generated.

String incode = "B" + whatIsTheBarcodeValue + "D";
BarcodeCodabar codaBar = new BarcodeCodabar();
        codaBar.setCode(incode);

        codaBar.setFont(null);
        codaBar.setBarHeight(barHeight);
        codaBar.setN(3.0f);

        Image image = codaBar.createImageWithBarcode(cb, null, null);
        

Any help is appreciated.


-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to