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.

Any help would be appreciated.

Thanks in advance.
Parrot
-- 
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.-tp19968381p19968381.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

Reply via email to