Re: [iText-questions] Page Size Limits

2017-03-07 Thread mkl
tcorbet wrote > My trouble-shooting has all been based on the belief that there must be > some size limit, which I assumed would be the total number of pixels, > but what seems to be true is that there is an horizontal pixel limit > irrespective of height. If I limit the width to 14400, I will g

[iText-questions] Page Size Limits

2017-03-06 Thread Terry Corbet
I am usually successful in producing single-page documents whose content is a family tree diagram - lots of templated line drawing with minimal text. [I can provide a jpeg image of valid and invalid results, if that would help.] My application never dies with any sort of diagnostic error that I

[iText-questions] Page Size Problem

2008-10-20 Thread Byomokesh Sahoo
Hi, I am creating to reduce trime/page size on existing PDF file through iText. I have done the fix margin size But I would like to type trime/page size by user. Example "arguments: file1 [file2 ...] destfile 5.4x9.6". This size should be come on output. How i will run this calculate setCropBoxSi

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 th

[iText-questions] Page size question

2005-09-27 Thread Sandor Rozsa
Hi iTexters, just a dumb java newbie quickie: i'm trying to pass the page size from my HTML to the servlet: public class HelloWorldServlet extends HttpServlet { /** * Returns a PDF, RTF or HTML document. * * @see javax.servlet.http.HttpServlet#doGet(javax.ser

RE: [iText-questions] Page Size

2005-05-19 Thread Youssef Eldakar
Youssef Eldakar Bibliotheca Alexandrina -Original Message- From: Bruno Lowagie [mailto:[EMAIL PROTECTED] Sent: Thu 5/19/2005 4:23 PM To: Youssef Eldakar Cc: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions]

RE: [iText-questions] Page Size

2005-05-19 Thread Youssef Eldakar
. Youssef Eldakar Bibliotheca Alexandrina -Original Message- From: bruno [mailto:[EMAIL PROTECTED] Sent: Thu 5/19/2005 3:30 PM To: Youssef Eldakar Cc: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] Page Size

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 is

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

[iText-questions] Page Size

2005-05-19 Thread Youssef Eldakar
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 in" while it is sup

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

2003-09-25 Thread Paulo Soares
D] > Subject: [iText-questions] Page Size/Orientation and Reordering > {Scanned} > > Why does changing the page orientation/size make it so that I am no longer > able to reorder pages? When I try to do so, I get a DocumentException > with > "Page reordering requires a

[iText-questions] Page Size/Orientation and Reordering {Scanned}

2003-09-24 Thread Bill Simpson
Why does changing the page orientation/size make it so that I am no longer able to reorder pages? When I try to do so, I get a DocumentException with "Page reordering requires a single parent in the page tree" as the message. Thanks, Bill --

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 p

RE: [iText-questions] Page size

2003-07-10 Thread Matt Benson
ROTECTED] > Sent: Thursday, July 10, 2003 8:18 AM > 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

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 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 R

[iText-questions] Page size

2003-07-10 Thread Carmona Perez, David
Hi all,   Does anyone know if the page size of a PDF file has to be the same throughout the whole file? Can landscape and portrait pages be freely intermixed?   Thanks in advance for sharing your experiences with iText David  

RE: [iText-questions] PAge size and margin

2002-01-28 Thread Paulo Soares
Subject: [iText-questions] PAge size and margin > > hello everybody ! > > I've to create a document with 2 pages . > The 1st page size is A4 (21x29.7) and its margins are 8, 8, 32 and 2 > (left, > right, up, down). > The 2nd is 24x32 and its margins are 0, 0,