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

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

printing


From: Gottfried
Subject: printing
Date: Fri, 16 Dec 2022 15:27:27 +0000

Hi,

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.

I have got a "HP Officejet J4680 All-in-One" printer


Kind regards

Gottfried


Am 14.12.22 um 18:27 schrieb Philip Kaludercic:
Gottfried <gottfried@posteo.de> writes:

Hallo,
ich wollte einen Puffer ausdrucken (das erste Mal)
und es gab diese Fehlermeldung:

lpr-print-region: Spooling...done: /home/gfp/.guix-profile/bin/lpr:
Fehler - Kein voreingestelltes Ziel.

Wie kann ich das Ziel einstellen?

danke
Gottfried

You have to take a look at `lpr-switches', and specifically figure out
what -P<printer name> flag to add, so that the "lpr" command knows where
you want to print.

--


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]