wood burning stoves
The moose likes HTML, CSS and JavaScript and the fly likes change print settings through javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "change print settings through javascript" Watch "change print settings through javascript" New topic

change print settings through javascript

Punk Jain

Joined: May 30, 2003
Posts: 2
I have an ASP page which the users will be printing through File Menu of their browsers. I want the page to print only in 'landscape' mode, even if the user printer settings are set to portrait. Is there something that can be done through javascript or otherwise to change the print settings of client machine to landscape?
Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
look into CSS, you maybe able to specofy the paper size for pronting, but not all browsers support it.
I agree. Here's the link: http://aspose.com/file-tools
subject: change print settings through javascript
It's not a secret anymore!