Hello for all!
I have a problem: I developed a servlet that
generate a pdf document with some pages. When I create
the document I do:
Document document = new Document(PageSize.A4, 30, 30,
30, 30);
But just the first page is showed with this
margins. From the second on the margins are others.
I send the document through the following code:
response.setContentType("application/pdf");
response.setHeader("Content-disposition", "inline");
response.setContentLength(buffer.size());
ServletOutputStream output =
response.getOutputStream();
buffer.writeTo(output);
output.flush();
Does somebody have any idea?
PS: I use Adobe Reader 6.0, IE 5.0 and 6.0
Yahoo! Mail - 6MB, anti-spam e antiv�rus gratuito. Crie sua conta agora:
http://mail.yahoo.com.br
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions