3

I'm wondering if anyone has had any experience modifying print settings via a web page. My overall goal would be to setup a print button on a web page

<a href="javascript:window.print()">Print This Page</a> 

And at the same time modify the users print settings to print the page from a landscape view. Input on if this is even possibly, or other suggestions would be appreciated. Modifying the page layout isn't really an option. I thought about using a separate style sheet for the printing page but that doesn't help with what I'm actually printing.

1
  • At most you can influence output by offering different style sheets for portrait/landscape, but your control over the printing process is limited to triggering the print process. After that it's completely up to the user. Commented Oct 27, 2010 at 16:43

1 Answer 1

4

For security reasons your JavaScript would not have have access to the print setup page.

Sign up to request clarification or add additional context in comments.

1 Comment

I assumed so, just thought I would ask. Thanks for your input!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.