Drupal could really do with a "Printable Page" feature, out of the box. There is a printable version for books, but as far as I could see not for nodes.

- Printable pages have different layout requirements to regular web pages, and so should be treated differently. (navigation or blocks may not be wanted)
- A link to the printable version of a node could be an element of the node page (at the top, bottom, or both), and could have customisable link text (like: 'Print', 'Printable Page', or an icon).

I can code PHP, and would be happy to help out with this, but am fairly new to drupal, so would need some hand holding while I get familiar with the Drupal development.

I would like to know if there is a background to this issue, and what types of things need to be considered.

Comments

TheLibrarian’s picture

Please take a look at the PDFview module. It allows nodes to be transformed into PDF documents (perfect for printing). I just rewrote the module, so you may want to wait until the patch gets committed to begin using it. Please let us know if this fits your requirements.

rkendall’s picture

Thanks for letting me know about that. I will have a look at it, and keep an eye out for any new submissions. I was thinking more about a printable HTML page, but maybe I could adapt your module (or at least learn something).

Bèr Kessels’s picture

Again This issue comes up.

Drupal has no printable page, because in essence this should be achieved through CSS design. Read more on this in the mailinglists archives. (http://lists.drupal.org/archives/drupal-support/2004-05/msg00105.html)

CSS was meant for this, made for this, and optimised for this. It works in almost all latest browsers (Yes even IE5.5).

Please try that first, if it still does not satisfy you, please join one of the discussions on this in drupal.org or the mailinglists.

rkendall’s picture

Fair call on the CSS, and it's your call to make I guess. However it would be helpful to see a working implementation.

rkendall’s picture

The discussion linked above also highlights other aspects that I would agree with, defending the benifit of a printable page (even in addition to using CSS).

See these posts:
http://lists.drupal.org/archives/drupal-support/2004-05/msg00132.html
http://lists.drupal.org/archives/drupal-support/2004-05/msg00117.html

Bèr Kessels’s picture

The example is back online again:
See it live at http://www.dot-o-dot.com

Notice the little print icon at the top. This allows you to print "anything" not only nodes, but also taxonomy overviews, listings etc.

the print css is found at http://www.dot-o-dot.com/themes/bakkers/bakkers-print.css

regards, Bèr