help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: printing


From: Gottfried
Subject: Re: printing
Date: Sat, 17 Dec 2022 12:31:25 +0000

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 <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: printing
Message-ID: <87a63nq928.fsf@web.de>
Content-Type: text/plain

Gottfried <gottfried@posteo.de> 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.

Attachment: OpenPGP_0x61FAF349C9FB7F94.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]