Print Page | Close Window

Print page

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=16484
Printed Date: 29 March 2026 at 11:56pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Print page
Posted By: andrebr
Subject: Print page
Date Posted: 09 September 2005 at 5:09am
Hi.
I´ve made a site I´d like too print in a landscape.  In the body of the page I´ve used "javascript.print()".  So when the page opens, the dialog box appers.  But then the page is printed portrait.
 
Annyone?  Smile


-------------
Best reguards

André



Replies:
Posted By: ub3rl337ch3ch
Date Posted: 11 September 2005 at 7:01pm
as far as i know the printer settings can't be altered with scripting, as i've looked into something similar in the past. I do know that it can't be done with asp, because it is a server side script, and can't actually influence anything on the client side (beyond the html it recieves)


Posted By: dpyers
Date Posted: 11 September 2005 at 8:22pm
Javascript is not able to control the printer. Pop up adds are bad enough. It'd be pretty bad to visit a site and have some javascript start pushing out ads on your printer.




-------------

Lead me not into temptation... I know the short cut, follow me.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net