I am assuming you are seeing the page break character, whose ASCII value is 12. You should be able to just look for this character and call Document.newPage() whenever it is encountered.
-Matt --- Wendy Smoak <[EMAIL PROTECTED]> wrote: > I am currently transforming a text file into a pdf > with iText, and instead > of a page break, I'm getting a small box with an x > in it. We used to use > text2pdf at the unix prompt, and it was able to do > the page breaks. It's > been too long, but I *think* we had to insert some > character to convince > text2pdf to page break. I'm still looking through > the source code that > creates the text file to see what it's doing. > > What character(s) would need to be present in a text > file for iText to know > to page break there? > > Thanks, > Wendy Smoak > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce > Software. > Perforce is the Fast Software Configuration > Management System offering > advanced branching capabilities and atomic changes > on 50+ platforms. > Free Eval! > http://www.perforce.com/perforce/loadprog.html > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions __________________________________ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions