Would it be possible to have a feature in the configuration so that clicking on the 'print-friendly' icon pops up a separate window with all the stuff like the site logo as well so that printing a page does also get the logo on it? I think of it as somewhat of a 'corporate' feature.

Comments

km’s picture

Assigned: Unassigned » km

It is not recommended to open links in a new window so I will not implement it. Let the user do this herself if she wants to.
See also http://lists.drupal.org/archives/drupal-devel/2003-03/msg00291.html and http://lists.drupal.org/archives/drupal-devel/2004-02/msg00893.html.

I you really want to force new windows change theme_print_link() in print.module:

function theme_print_link($node) {
  $attributes = array("target"=> "_blank");
  return l(t('printer friendly page'), "node/$node->nid/print",$attributes);}

To print the logo add this line to print.tpl.php:

<img src="<?php print theme_get_setting('logo'); ?>" alt="logo" border="0" />

Thanks for asking. I will add these examples to README.txt.

km’s picture

Status should be 'wont't fix'....

jcnventura’s picture

Status: Closed (won't fix) » Closed (fixed)

This is now a configuration option in the latest 5.x release.