I've uploaded small patch to the bug tracker (12197) to add support for printing just the…
Michael Van Canneyt wrote 12 lines
Also, nice feature would be to set print to file as open option (qt can do that), so it's possible to print source / selection into pdf file.
