p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Javascript How-To (http://p2p.wrox.com/forumdisplay.php?f=87)
-   -   Printing fit to page print (http://p2p.wrox.com/showthread.php?t=36405)

arnabghosh December 23rd, 2005 07:24 AM

Printing fit to page print
 
Hi everyone !!
I have an HTM page which I want to print but whenever I see the print preview I can see only a portion of the page and not the whole page. I am using javascript document.print(). Is there any javascript code which I can use while the page loads so that the page fits to size whenever I see the preview and print it.

Any help would be great !!

Arnab Ghosh

m.paranjape July 27th, 2007 04:00 AM

Hi ,

I am facing the same problem while printing using the window.print() method of javascript. What happens is the content does not fit on te A4 page.

Appreciate if you could help.

Thanks,
Milind


mat41 July 29th, 2007 05:58 PM

Try using percentages on your page layout, this works for me.

IME - printers do have a mind of thier own which I do not believe ASP has a prognosis for

Wind is your friend
Matt


All times are GMT -4. The time now is 02:09 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.