All chars below 32 are stripped. If you want to keep it use setText(byte[]).
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Gary Wu > Sent: Thursday, April 14, 2005 7:13 PM > To: [email protected] > Cc: Gary Wu > Subject: [iText-questions] PDF417 barcode and newline character > > Hi, > > I use BarcodePDF417 to generate 2D barcodes. My problem is I > can't encode > newline characters in the barcodes. My code looks like this: > > BarcodePDF417 pd = new BarcodePDF417(); > String text = "3011005713\nCB39A78"; > pd.setText(text); > Image img = pd.getImage(); > > Any help is highly appreciated! Thanks! > > Gary > > > > > ==================== > Notice to Recipient: This e-mail is meant for only the > intended recipient > of the transmission, and may be a communication privileged by > law. If you > received this e-mail in error, any review, use, > dissemination, distribution, > or copying of this e-mail is strictly prohibited. Please notify us > immediately of the error by return e-mail and please delete > this message > from your system. Applicable legal notices regarding the > e-mail content, > attachments, and web links are posted on Ellie Mae's website. > http://www.elliemae.com/legal.asp > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from > real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
