For a couple of projects, I would like to be able to have the comments included in the printer-friendly page. The readme says:

TO DO
- Add ability to optionally attach comments to nodes for printing
  by calling comment_render().

I'm not adept enough at Drupal code to understand exactly what this means. Has anyone implemented this? (CVS does not have it.) Any suggestions or code snippets (!) would be much appreciated!

Thanks!

-media girl

Comments

casperl’s picture

The print module only shows the main node (print-4.6.0.tar.gz)

What does Drupal.org use to print only the story plus the comments? This is exactly what I want.

I suspect there is a stylesheet that only renders the main page block for printer output.
Would anyone know the secret to this?

Regards

Casper

-----------------------------------------
Casper Labuschagne
http://boerboel.co.za
http://krooninfo.co.za
Where am I on the Frapper map for Drupal users?
http://www.frappr.com/drupalusers#x=-90.7&y=37.72&z=16&t=0&pin=2517725_blue

toemaz’s picture

Any solution so far?

tm’s picture

If it is of any use to anyone still looking (like me), I am using print-5.x-1.1 on Drupal 5.1, and it prints nicely in both FireFox 2 and IE7 (surprise!) using the browser's print button (acting like a user). The link below the text is a little misleading, though. It only prints the original post without comments.

mdallmeyer’s picture

The most recent version of the print module has an option under admin/settings/print/common to include comments on the print pages. This may make things ugly for book nodes which are also printing all child pages though...