----- Original Message ----- 
From: "Mark Goking" <[EMAIL PROTECTED]>
To: "itext" <[EMAIL PROTECTED]>
Sent: Monday, July 28, 2003 2:45
Subject: [iText-questions] problem with margins when prniting with pdf


> hi all, this code
>  
> Document document = new Document(PageSize.A4, 18, 18, 18, 18);
>  
> > supposedly sets margins to be 18 (pixels?) top, bottom, left and
> right, right?

Yes.

> > when viewed in pdf, the top seems to be ok. but the left and right
> margins are somehow big.

Are you sure your monitor has a perfect square pixel?

> > when printed, the top portion seems to be cut off and the left and
> right margins are also big. is this a file -> page setup issue in
> acrobat reader?

As always.

> > i also inlcuded a page events, it does not get printed (e.g. page 1 of
> 2) but in the pdf it can be viewed. i just copied the same code from the
> tutorial and modified the label text to page n of n

Maybe it's in the printer's off margin.

Best Regards,
Paulo Soares

>  
> anyone got ideas why these happened?
>  
> Mark
> 
> 
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.504 / Virus Database: 302 - Release Date: 7/24/2003
> 
> 
> 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to