/Users/myaccount/prince/bin/prince http://mpkb.org/doku.php/home:1 -o /Users/my account/Desktop/final.pdf
content: "Copyright 2003-2010 Autoimmunity Research Inc.";
...and there are several more useful, print-friendly features that I can only dream a browser would support.
And I get a perfectly formatted PDF. Cool, no?
By the way, for people who want to do something fancy such as a Table of Contents, you should check this article:
I actually spent a lot more time on this problem. The main problem here is that @page is not supported by almost all browsers (I think Opera is an exception) even though it is a CSS 2.X specification:
PrinceXML is awesome! All I had to do was download and install it on my Mac and type into my Terminal this:
So what I ended up doing is using one of the few programs on earth that does honor CSS3: PrinceXML.
Well, anyway, hope this helps someone else.