Hi, My operating system in GNU Guix, it's not a normal linux distro. > Does the lpr command print outside of Emacs? I am not sure what you mean and how to do it. I have cups installed. I never printed with the terminal, so I don't know. I tried it briefly with: sudo cat my-file-to-print.txt > /dev/lp but it didn't work. basically my printer is working with cups installed, and I even managed to print from emacs with my browser by that: M-x htmlfontify-buffer file:///home/gfp/testeev.txt browse-url-of-file thanks for help Gottfried Michael Heerdegen To: help-gnu-emacs@gnu.org Subject: Re: printing Message-ID: <87a63nq928.fsf@web.de> Content-Type: text/plain Gottfried writes: > I added this to my init.el file: > > ;;printer > (setq lpr-switches > (append '("-P" "HP_Officejet_J4680_All-in-One" > "-o" "sides=two-sided-long-edge" > "-o" "number-up=2") > lpr-switches)) > > > But still it does not find my printer. > > Where is my mistake? > The two lines after the printer I am not sure if they are right as well, > but probably that has nothing to do with the printer itself. Does the lpr command print outside of Emacs? Michael.