Index: print.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/print/print.module,v
retrieving revision 1.14
diff -c -r1.14 print.module
*** print.module	30 Mar 2006 03:03:57 -0000	1.14
--- print.module	28 Apr 2006 07:34:42 -0000
***************
*** 219,224 ****
--- 219,227 ----
    // TODO: this strips legitimate uses of '<!--break-->' also.
    $node->body = str_replace('<!--break-->', '', $node->body);
  
+   //alert other modules that we are generating a printer-friendly page, so they can choose to show/hide info
+   $node->printing = true;
+   
    // The 'view' hook can be implemented to overwrite the default function
    // to display nodes.
    if (node_hook($node, 'view'))
