As mentioned in the comments StackPrinter is often useful for such purposes.
This tool is very frequently mentioned in several other posts on this topic, sometimes various other tools are mentioned too:
Printing out Stack Overflow/Exchange Q&As including comments? on Meta Stack Exchange
Save the answer in PDF? on Mathematics Meta
There are some ...