Hi,

Actually i realized that the paper size in the printer is set to A4, i'm
guessing there is no way to modify this parameter via itext, however i tried
modifyine the code like this and resizing de templates to A4 and the result
is "legible".


copy.setPageSize(PageSize.LETTER);

PdfWriter test = copy.getWriter();

test.setPageSize(PageSize.LETTER);

test.setViewerPreferences(PdfWriter.PrintScalingNone);

Please, ¿does anybody know if it's possible to change the printer page size?

Thanks!

2010/7/1 1T3XT info [via iText - General] <
[email protected]<ml-node%[email protected]>
>

> Mayito wrote:
> > Hi everybody, I'm trying to merge two pdf templates
>
> What is the page size of the pages in these PDFs?
>
> >  in the preview it's
> > ok, but in several pc's when i try to print it i do not get the same
> > result.
>
> You DO know that printers have limitations, and use "shrink to fit" to
> overcome these limitations, causing the "scale" of the page to be
> different depending on the type of printer.
>
> > I've tried to "force" the page size to LETTER but i get the same
> > result,
>
> The page size in the "merged" PDF will be the same as the page size of
> the pages in the original PDFs.
>
> > i'm guessing my code has a mistake.
>
> Not necessarily. Maybe you just didn't know about "printer limitations".
>
> > Does anybody know a solution
> > to this?
>
> Turn the "print scaling" off.
> This can be done manually in Adobe Reader, or it can be done using a
> "viewer preference" (Google for "PrintScaling None").
> --
> This answer is provided by 1T3XT BVBA
> http://www.1t3xt.com/ - 
> http://www.1t3xt.info<http://www.1t3xt.info/?by-user=t>
>
> ------------------------------------------------------------------------------
>
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> iText-questions mailing list
> [hidden email] <http://user/SendEmail.jtp?type=node&node=2274662&i=0>
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> Buy the iText book: http://www.itextpdf.com/book/
> Check the site with examples before you ask questions:
> http://www.1t3xt.info/examples/
> You can also search the keywords list:
> http://1t3xt.info/tutorials/keywords/
>
>
> ------------------------------
> View message @
> http://itext-general.2136553.n4.nabble.com/Print-Issue-tp2274577p2274662.html
> To unsubscribe from Print Issue, click 
> here<http://itext-general.2136553.n4.nabble.com/subscriptions/Unsubscribe.jtp?code=bWF5aXRvYXZpbGFAZ21haWwuY29tfDIyNzQ1Nzd8LTIwNzI0NjgxOQ==>.
>
>
>

-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Print-Issue-tp2274577p2279796.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
Check the site with examples before you ask questions: 
http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Reply via email to