It worked. Have been struggling with it from so many days. Thank you so so much.
Regards Parrot Paulo Soares-3 wrote: > > > >> -----Original Message----- >> From: Parrot [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, October 14, 2008 8:29 AM >> To: [email protected] >> Subject: [iText-questions] Generated Pdf has first page as >> blank and the data is printed on the second page. >> >> >> I am trying to print a page in pdf with iText. >> The page has a table header with 19 columns. And each column >> size is 10f. >> Used PdfPTable for the header. >> Now I have another PdfPTable with the data for the above >> headers. One of >> the columns is the description field and I have data whose >> length is 392 >> characters. When the pdf is generated the first page has >> only the column >> headers and the page is empty. >> On the second page the column headers are printed and then >> the data for the >> columns. >> >> The headers are printed using events onStartPage of the >> PdfPageEventHelper. >> >> My question is why did the data not print on the first page. >> The parameters >> are not being changed from one page to the other. So if it >> can print it on >> the second page why didn't it print it on the first page. >> > > PdfPTable.setSplitLate(false) > > Paulo > > Aviso Legal: > > Esta mensagem é destinada exclusivamente ao destinatário. Pode conter > informação confidencial ou legalmente protegida. A incorrecta transmissão > desta mensagem não significa a perca de confidencialidade. Se esta > mensagem for recebida por engano, por favor envie-a de volta para o > remetente e apague-a do seu sistema de imediato. É proibido a qualquer > pessoa que não o destinatário de usar, revelar ou distribuir qualquer > parte desta mensagem. > > > > Disclaimer: > > This message is destined exclusively to the intended receiver. It may > contain confidential or legally protected information. The incorrect > transmission of this message does not mean the loss of its > confidentiality. If this message is received by mistake, please send it > back to the sender and delete it from your system immediately. It is > forbidden to any person who is not the intended receiver to use, > distribute or copy any part of this message. > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > 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 > -- View this message in context: http://www.nabble.com/Generated-Pdf-has-first-page-as-blank-and-the-data-is-printed-on-the-second-page.-tp19968381p19987472.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ 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
