Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

A web page has content, navigation and other non-content items such as menus and headings. How does one add a print function to all pages on a Drupal web site so that the user can print a page easily without all of the clutter?

share|improve this question
Should be on Superuser rather than Serverfault? – Coops Nov 10 '09 at 12:02
I'm thinking more webmasters than superuser, this is the exact type of question for that exchange. – Doug Feb 17 '12 at 22:53
up vote 1 down vote accepted

There is a module.

share|improve this answer

Use a print-stylesheet, setting i.e. the navigation, ad and commentsection to display=none. Embed the stylesheet in your head-section of your page.tpl like this

<link rel="stylesheet" type="text/css" href="/css/print.css" media="print" />

and you are done. Now everytime a printer is called, the webbrowser will use this stylesheet instead of the normal one.

share|improve this answer
Print stylesheets are the way to go. Having to open another page to get to the "print version" of a web page is annoying, redundant and unnecessary. And, of course, this concept applies to web pages outside of Drupal as well. – Garrett Albright Nov 10 '09 at 18:43

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.