Re: [iText-questions] Page size question

2005-09-27 Thread Bruno Lowagie
Sandor Rozsa wrote: String pageSize = request.getParameter(pageSize); So the pageSize variable is a String object. PageSize.pageSize Here you are calling the static member variable pageSize of class PageSize. Inside class PageSize, there is no public static Object pageSize So

Re: [iText-questions] Page Size

2005-05-19 Thread bruno
Youssef Eldakar wrote: Image im = Image.getInstance(...); document.setPageSize(new Rectangle( im.plainWidth(), im.plainHeight())); document.newPage(); im.setAbsolutePosition(0, 0); im.setDpi(300, 300); contentByte.addImage(im); Opening the output PDF, it displays a page dimensions of 17.22 x 24.33

Re: [iText-questions] Page Size

2005-05-19 Thread Bruno Lowagie
Youssef Eldakar wrote: Right, wxh = 1240x1752. That is the image size at the moment you constructed the rectangle; you did this BEFORE you tried to change the DPI. At an image resolution of 300 dpi, it should translate to about 4.15x5.85.in. I guess the problem is that the document resolution

RE: [iText-questions] Page Size/Orientation and Reordering {Scann ed}

2003-09-25 Thread Paulo Soares
The limitation is on the number of pages that is 10. Call PdfWriter.setLinearMode() after open. Best Regards, Paulo Soares -Original Message- From: Bill Simpson [SMTP:[EMAIL PROTECTED] Sent: Thursday, September 25, 2003 0:17 To: Bill Simpson; [EMAIL PROTECTED] Subject:

Re: [iText-questions] Page size

2003-07-10 Thread Leonard Rosenthol
At 12:41 PM +0200 7/10/03, Carmona Perez, David wrote: Does anyone know if the page size of a PDF file has to be the same throughout the whole file? No it does not. You can happily mix page sizes... Leonard -- --- Leonard

RE: [iText-questions] Page size

2003-07-10 Thread Schmickel, Xan
Title: RE: [iText-questions] Page size By the same token, is there a way to instruct the printer to select upper and lower tray for legal and letter size within one document? -Xan -Original Message- From: Leonard Rosenthol [mailto:[EMAIL PROTECTED]] Sent: Thursday, July

RE: [iText-questions] Page size

2003-07-10 Thread Matt Benson
To: Carmona Perez, David; [EMAIL PROTECTED] Subject: Re: [iText-questions] Page size At 12:41 PM +0200 7/10/03, Carmona Perez, David wrote: Does anyone know if the page size of a PDF file has to be the same throughout the whole file? No it does not. You can happily mix page sizes

RE: [iText-questions] Page size

2003-07-10 Thread Leonard Rosenthol
At 09:58 AM 7/10/2003 -0400, Schmickel, Xan wrote: By the same token, is there a way to instruct the printer to select upper and lower tray for legal and letter size within one document? No! PDF is the PORTABLE Document Format, meaning that it does NOT contain any methods for printer-specific