# What is the best way to print one answer? [duplicate]

Suppose I want to print one answer (out of many). Is there an option to achieve that without printing parts of adjacent answers?

• – Asaf Karagila Feb 4 '14 at 18:22
• @AsafKaragila Am I correct: That one can prepare the the entire file to be printed, the question and all the answers as one document, and then restrict printer to a segment. Each answer is not a separate file. – Maesumi Feb 4 '14 at 20:29
• I'm... not sure? You can try and set it to print to a .pdf file and look at the result yourself. – Asaf Karagila Feb 4 '14 at 20:32
• Meta.SO: Can I print a single answer? – Martin Sleziak Feb 5 '14 at 7:40

Then I simply edited it manually. I have removed almost all parts outside of <div class="answers"> ... </div>. (I left the question title, but if you want, you can remove it too.) In the part I left, I kept the part between <div class="answer-details"> ... </div> and <div class="answer"> ... </div> for the specific answer that I wanted. (If there are several answers, there are more such blocks.) The resulting file looked like this. You can have a look here how it is rendered.