DPI and PageSize have nothing to do with eachother.
Bruno is right, i suspect that you are not properly setting your page size
to be the size that you want.
When you open your document in Acrobat, what are the dimesions of the
document?
-Bill Ensley
www.bearprinting.com
_____
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of magesh
rathnam
Sent: Tuesday, February 06, 2007 6:40 AM
To: itext-questions@lists.sourceforge.net
Subject: Re: [iText-questions] Setting DPI
Hi,
Is it possible to set the print DPI of the PDF via code? If yes, Can you
explain me how? I create a document of 4.82 * 6.94 in. But when I print it,
it comes out a lot smaller and I had to change the DPI so that it prints to
the correct size. So my question is how can I set this DPI inside the code,
so that people dont have to chnage the DPI to get it print to the same
dimension as the document. I'm using Java as my programming language.. Let
me know if you have any questions.
Thanks & Regards,
Magesh
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/