I'm using PDF-Tools (https://github.com/politza/pdf-tools) to display PDFs inside Emacs. But how to print them? C-c C-p raises the question »Print with:« and I have no idea how to answer it.

I'm looking for a solution to print the pdf, not the buffer, if this makes a difference.

My PC is inside a LAN and there are several printers available. I'm on Linux (openSuse Tumbleweed).

2 Answers 2


You need to set the variable pdf-misc-print-programm and possibly also pdf-misc-print-programm-args in the pdf-misc customisation group. They should be set to the system command that you will print your document with, and that program must be installed on your system.

I use lpr, with the settings:

'(pdf-misc-print-programm "/usr/bin/lpr") 
'(pdf-misc-print-programm-args (quote ("-o media=Letter" "-o fitplot")))

Print with: asks you for a command to print with. In most Linux distros you could use lp or lpr command to send files to printer. More about lp: http://linux.die.net/man/1/lp

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.