How do I show my comments in this code?

How can I include comments and show all code when printing out posts?

  • I'm using the Firefox browser and trying to print out my posts (and replies). The PDF output doesn't include the comments in the posts. How to make sure that everything which is on the page gets printed? Same goes for codes for which are in a window. Only the visible part of the code gets printed. These are not programming questions :) but I hope that someone can suggest how to get proper printouts of the posts.

  • Answer:

    Have a look to http://www.stackprinter.com app. Using the http://stackapps.com/questions/1/api-documentation-and-help produces an essential printable view of a given question id with all the answers and all the comments.

yCalleecharan at Meta Stack Overflow Visit the source

Was this solution helpful to you?

Other answers

The PDF printer takes a "snapshot" of the whole viewport, it does not take benefit of the CSS print stylesheet to make all the code and comments to overflow and visible. This is rather a client side issue. You may peek around in your PDF print settings if there isn't an option to change the CSS used when printing to PDF. The only the stackexchange guys can do is to provide a link like "Download this question as PDF" and generate the whole PDF serverside the way as you would get with the CSS print style. As this is a pretty expensive job, I wouldn't expect much.

Chichiray

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.