The print (print, pdf, e-mail friendly links) module doesn't include blocks by default, but does allow custom templates for inclusion of such blocks for a given content /output type. However, when that block is added via code:

print theme('blocks', 'content'); 

(my comments are set to display in the 'content' block), the comments do not show. I suspect this is because the URL has changed from:
http://foo.bar.net/xyz/node/583
http://foo.bar.net/xyz/print/583 -or- http://foo.bar.net/xyz/printpdf/583

I still have variables such as $node->nid in the print template, so does your module provide some sort of function I can pass the nid to to print the comment display?

Comments

obrienmd’s picture

Have been hacking away at this for the last 24 hours, with no luck. I'm going to poke around the print module's issue queue to see if I can find anything similar.