In emacs, open the file you want to print. Use the htmlfontify-buffer command to generate an html version of your document. Edit HTML if desired. Install wkhtmltopdf to convert the HTML to PDF. Ex: wkhtmltopdf files.tcl.html files.pdf