Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

UPDATE:

Version 1.1 - MySE section, PrettyPrint, StackPrinter API

Screenshots:

App Homepage

Homepage screenshot

Printable view

Printable view screenshot

Logo:

Logo
http://www.stackprinter.com

StackPrinter is a website that pulls the main details of a given question, all its answers, comments and votes formatting them in a simple essential printable view.

I've created this micro web application basically to add a "Printer-Friendly" feature to the Stack Exchange Network sites, trying to remove some @Media Print CSS limitations like hidden comments, pagination and empty spaces. (rationale here)

Other features:

  • Addons:
    1. Greasemonkey script - Adds a Printer-Friendly button on question's page (FF|Chrome)
    2. Bookmarklet - Allows you to print a question directly from question's page
  • Favorites: lets you browse and print favorites users's questions from:
    1. The Stack Exchange Network
    2. Delicious social bookmarking
  • TopVoted: top voted questions by tags
  • TopPrinted: StackPrinter top printed questions
  • Deleted: popular deleted questions archive
  • MySE: for printing all your Stack Exchange stuff

Demo

Printable question:
What should a developer know before building a public web site? - Stack Overflow
Recovering a lost website with no backup? - Super User
Good tools that fit on a thumb drive - Server Fault
Jon Skeet Facts? - Meta Stack Overflow
API Documentation and Help - Stack Apps

Favorites:
Jon Skeet - Stack Overflow
Jeff Atwood - Stack Overflow
Zoredache - Server Fault
wil - Super User
gangsta75 - Delicious

TopVoted:
python tag - Stack Overflow
discussion tag - Meta Stack Overflow

Deleted:
What's your favorite "programmer" cartoon?

Code

Language: Python
Platform: Google App Engine
Framework: webpy
Source: github
Api: /export
License: BSD

Info

Contact

Contact info

Credits

share|improve this question
2  
Good job. The questions are formatted nicely! :) –  Nathan Osman May 22 '10 at 5:18
    
@George thanks, glad you like it. –  systempuntoout May 22 '10 at 6:17
2  
that is brilliant!!! If only this could be a real part of SO! –  Matt S. May 22 '10 at 13:34
    
oh man! also, why don't you modify it so it displays the actual value of the link. Displaying just the text doesn't mean a lot unless you can view the URL as well –  Matt S. May 22 '10 at 22:07
2  
the url. Just blue text tells me nothing. I want to see the actual URL so I can type it in later :) –  Matt S. May 23 '10 at 2:08
3  
How about doing what Wikipedia does, and have all the links at the bottom of the page? Then just use [1], [2], etc. in the posts. –  Nathan Osman May 23 '10 at 7:17
    
@George do you think it would be useful? –  systempuntoout May 23 '10 at 11:40
1  
What if I am going to make more than 10K prints per hour? –  elyse May 23 '10 at 15:52
4  
@Koning Amazon Forest will disappear in no time. –  systempuntoout May 23 '10 at 16:02
1  
+1 from me for the error page, obviously –  balpha May 25 '10 at 10:11
1  
Thanks - I just thought that would look nicer :) –  Nathan Osman May 26 '10 at 23:53
1  
TREE KILLER!!!! 8-p –  Sky Sanders Jul 5 '10 at 0:26
1  
Great application -- there are still a few cases where a nice printout beats reading something on the screen. Suggestion: include the original question URL in prominent fashion near the top of the printout. That would be a good reference from the printed page back to the online version. –  BrianC Jul 5 '10 at 19:32
1  
I voted it up here a long time ago... I'll vote it up there. –  Nathan Osman Jul 7 '10 at 16:11
1  
@kenorb just add &printer=true at the end of the url if you don't want ads. –  systempuntoout May 13 at 14:14

3 Answers 3

up vote 12 down vote accepted

Addons

Stackprinter allows you to print directly from Stack Exchange sites using Greasemonkey script or an handy bookmarklet.
Greasemonkey script adds a Printer-Friendly button to the question you are browsing (Firefox and Chrome both supported).
Bookmarklet is useful if Greasemonkey is not an option and has the same effect of Printer-Friendly button, allowing the print of the question straight from the question page.

alt text

Favorites

Favorites allows you to browse and print your favorite questions or other users favorites.
Stackprinter supports all Stack Exchange sites plus Delicious social bookmarking service.
Just star or save your questions and browse Stackprinter to print all of them later.

Users search
alt text

Favorites result
alt text

[Q]uicklook alt text

Delicious result
link text

TopVoted

TopVoted allows you to browse and print the best questions searched by tags.

Tags search
link text

TopVoted result
link text

share|improve this answer

I asked this as a question, but apparently the convention is to report bugs/feature requests in the announcement thread. It appears, that the MathJax extension mhchem is currently not enabled in the StackPrinter app. This is rather inconvenient for most of the chemistry.se questions and answers. It would therefore be nice if this feature could be enabled for the StackPrinter app.

Example:
Please consider the sandbox on meta.chemistry.se and its printed version (also see the screenshot below). You can see in the first equation of my post the red \ce. I enabled the mhchem package manually via \require{mhchem] after that and the same command renders now.

printed result

share|improve this answer
    
I will take a look at it, is this extension available on Cdn? –  systempuntoout Apr 21 at 12:43
    
I do not know what Cdn is. The extension is part of the whole MathJax package. It is probably just a variable that has to be toggled, since it is already available, as the screenshot proves. Thanks for having a look. –  Martin - マーチン Apr 21 at 12:55
    
Oh OK, it should be easy to fix.(maybe tonight) –  systempuntoout Apr 21 at 14:39
    
Should be fixed, give it a try. –  systempuntoout Apr 21 at 21:15
    
@systempuntoout It works like a charm, thank you very much. Great app! –  Martin - マーチン Apr 22 at 3:10

Here is a small script (stackprinter) which uses Stack Printer from the command-line:

#!/bin/sh
type wkhtmltopdf || { echo >&2 "wkhtmltopdf command is required. Aborting."; exit 1; }
: ${1?"Usage: $0 (url)"}
URL=$1 && shift
HOST=$(echo $URL | egrep -o "([.[:alnum:]]*?)\.(com|net|org)" | head -c-5)
QID=$(echo $URL | grep -o "\d.*/" | head -c-2)
PRINTURL="http://www.stackprinter.com/export?format=HTML&printer=true&service=$HOST&question=$QID"
FILENAME=$(curl -s $URL | grep -o "<title>[^<]*" | tail -c+8)
wkhtmltopdf $* $PRINTURL "$FILENAME.pdf" && echo "'$FILENAME.pdf' saved."

Usage:

./stackprinter (url)

Example (tested on OS X):

$ ./stackprinter http://stackapps.com/questions/179/stackprinter-the-stack-exchange-printer-suite
'app - StackPrinter: The Stack Exchange Printer Suite - Stack Apps.pdf' saved.
share|improve this answer

You must log in to answer this question.

protected by Community Mar 8 '14 at 18:13

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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