Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there any way to, say, have a button which would open the document in Print Preview page automatically?

May be via javascript?

Example: Print Preview and that would open the URL in print preview mode.

With Javascript I could print current page with window.print() but afaik it's not possible to print the other URL.

share|improve this question
add comment

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.