65

I would like to make a suggestion for a Stack Overflow/Exchange complete Q&A printer-outer.

It would print out the full question, its answers, and its comments, which the normal web-browser print does not do.

migrated from stackoverflow.com Sep 21 '09 at 17:04

This question came from our site for professional and enthusiast programmers.

  • 7
    +1 for asking this question. Much needed feature. – sivabudh Feb 18 '10 at 0:48
  • Any update on this? – JDelage Sep 7 '10 at 3:44
  • Printing in Firefox is still a disaster. Printing in IE seems to work OK, but I don't want to have to open IE just to print. And that assumes I'm at work where I have IE available -- at home I run linux so IE is not an option. – jrw32982 supports Monica Oct 28 '10 at 15:38
  • 1
    Just linking stackapps.com/questions/179/… – Pandya Oct 15 '16 at 4:29
  • 2
    It's kind of weird that it doesn't just work. Is this 1996? :O – neuronet Jul 18 '17 at 18:32
  • Really great to see the "status-completed" badge on this. Great work Stack team! – Steven Jun 20 at 21:43
56

Try stackprinter http://www.stackprinter.com/.

  • 1
    Going to modify my original answer - it's a more readily available solution. – Steven Sep 30 '11 at 20:41
  • +1 It would be nice if it can print out many questions based on tag - as mention in meta.stackexchange.com/questions/117190/… – Anderson Karu Dec 27 '11 at 4:57
  • 2
    Anyway to print in color? It's useful for code highlight – NickW May 14 '12 at 22:54
  • @NickW I have added the PrettyPrint js library for the code highlighting – systempuntoout Jul 15 '12 at 6:17
  • @systempuntoout Thanks. it works great. – NickW Jul 16 '12 at 2:09
  • 1
    StackPrinter’s layout isn’t great, and worse, it automatically tries to initiate printing instead of just displaying it with a print-stylesheet, but it’s better than nothing. – Synetech Sep 29 '13 at 2:06
  • @Synetech I'm open for suggestion :), for the printing stuff you can pass printer=false on the query string and skip it. – systempuntoout Oct 10 '13 at 20:08
  • @systempuntoout, the query term is great, thanks (though that it’s necessary at all is absurd). A nicer stylesheet would be good, and might be implementable as a user-stylesheet in the meantime. I’ll keep an eye out for examples of sites that provide a good print stylesheet, but for now, with the don’t-print query, I’m satisfied (mostly) with StackPrinter (I don’t understand why the print-formatted pages don’t have a link to the original, normal question page). – Synetech Oct 11 '13 at 3:05
  • 1
    It doesn't support this site: stats.stackexchange.com – Vivodo Dec 6 '17 at 14:08
  • Is there no way to 'print all' questions or answer by a particular user? – Ice Inkberry Feb 28 at 6:25
1

This could be done with the SO static dump framework that I've started to work on. I don't quite have comments rendering yet (I've been busy with other projects), but the rest of the question/answer data is available in a plain format suitable for printing. Adding comments would be pretty straightforward.

  • Is there a way to follow what you're doing on this? Like a dev report or something? – Steven Sep 30 '09 at 16:40
  • The best place is probably over on Github: github.com/ghewgill/so-static Follow that project and you'll be notified of commits or other updates. Along with the obvious code collaboration, there's a wiki and issue tracker and such but I haven't played with the extra features yet. Now is a good chance! – Greg Hewgill Sep 30 '09 at 19:08
1

This is completed as per https://meta.stackexchange.com/a/329187/235711

0

Use the print functionality of your favourite web browser? If you are on Windows CTRL+P will work in most cases.

  • I tried that but it doesn't print comments. – Steven Sep 21 '09 at 17:10
  • 7
    Right, they are loaded separately. Pity. Smells like a feature request: printer-friendly view. – Fredrik Mörk Sep 21 '09 at 17:13
  • Hmm. Where can I make that request? – Steven Sep 21 '09 at 17:19
  • 1
    Looks like you found out :) – Fredrik Mörk Sep 21 '09 at 17:51
  • Thread printer-outer ftw. Thanks guys. – Steven Sep 21 '09 at 17:58
  • @StevenWright: As of trying right now, this seems to work fine, at least in Chrome. Comments and everything! – adamjford Sep 29 '11 at 21:29
  • Still fails in Firefox 8.0 on Windows. E.g. text runs off the bottom of the page and is missing from the next page. – jrw32982 supports Monica Dec 22 '11 at 17:35
  • The browser’s print function would print it as you see it; the question is asking for a print formatted stylesheet. – Synetech Sep 29 '13 at 2:05

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .