unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* wie kann ich Emacs so einstellen, dass ich drucken kann
@ 2022-12-14 16:38 Gottfried
  2022-12-14 17:27 ` Philip Kaludercic
                   ` (2 more replies)
  0 siblings, 3 replies; 40+ messages in thread
From: Gottfried @ 2022-12-14 16:38 UTC (permalink / raw)
  To: help-gnu-emacs@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 260 bytes --]

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

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Re: printing
@ 2022-12-17 12:31 Gottfried
  2022-12-17 13:09 ` printing tomas
  0 siblings, 1 reply; 40+ messages in thread
From: Gottfried @ 2022-12-17 12:31 UTC (permalink / raw)
  To: michael_heerdegen, help-gnu-emacs@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 1335 bytes --]

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 #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 3191 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread
* Printing
@ 2016-03-03 14:35 Sharon Kimble
  2016-03-03 20:22 ` Printing tomas
  2016-03-05 13:40 ` Printing Robert Thorpe
  0 siblings, 2 replies; 40+ messages in thread
From: Sharon Kimble @ 2016-03-03 14:35 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]


I have this set in my 'init.org' -

--8<---------------cut here---------------start------------->8---
printing with gtklp
#+begin_src emacs-lisp
(setq lpr-command "gtklp")
(setq ps-lpr-command "gtklp")
#+end_src
[2016-01-13 Wed 11:11]
http://emacs.stackexchange.com/questions/9363/how-to-specify-a-printer
--8<---------------cut here---------------end--------------->8---

But when I print a letter it comes out with a 'raw' look, and a not very
nice typeface.

But if I use 'prettyprint' the typeface looks smaller and more
attractive - but - it also prints a header showing the filename and the
date and time of printing, which is not what I want.

How then can I have a 'prettyprint' typeface but without the file header
of buffer and print date and time please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.3, fluxbox 1.3.7, emacs 25.0.92

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

^ permalink raw reply	[flat|nested] 40+ messages in thread
* printing
@ 2003-03-18 21:18 Kevin Reeder
  0 siblings, 0 replies; 40+ messages in thread
From: Kevin Reeder @ 2003-03-18 21:18 UTC (permalink / raw)


Text printing runs the left most columns off of the page. From the command
line I can run say, pr -h "" -0 5 %s | lpr and get what I expect but
haven't had success within Emacs. I've toyed with various switches and
options in the WP-Lpr Group and still no good. Any tips?

Kevin

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2023-01-01 14:53 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-14 16:38 wie kann ich Emacs so einstellen, dass ich drucken kann Gottfried
2022-12-14 17:27 ` Philip Kaludercic
2022-12-16 15:27   ` printing Gottfried
2022-12-16 22:26     ` printing Michael Heerdegen
2022-12-17  6:29       ` printing tomas
2022-12-17  7:41         ` printing Emanuel Berg
2022-12-17 13:48     ` printing Gottfried
2022-12-17 16:30       ` printing tomas
2022-12-14 21:30 ` wie kann ich Emacs so einstellen, dass ich drucken kann Michael Heerdegen
2022-12-17  9:00 ` Jean Louis
2022-12-17  9:29   ` Michael Heerdegen
2022-12-17  9:41     ` Jean Louis
2022-12-17 10:34       ` Michael Heerdegen
2022-12-17 10:39         ` Michael Heerdegen
2022-12-18  8:04   ` Eduardo Ochs
2022-12-18 17:18     ` Jean Louis
2022-12-18 22:34       ` rcd-paps.el (was: Re: wie kann ich Emacs...) Eduardo Ochs
2022-12-19 12:50         ` rcd-paps.el Jean Louis
2022-12-18 12:06   ` wie kann ich Emacs so einstellen, dass ich drucken kann Gottfried
2022-12-18 17:20     ` Jean Louis
2022-12-19 13:49       ` Gottfried
2022-12-19 17:19         ` Jean Louis
2022-12-27 16:10           ` wie kann ich Emacs so einstellen, dass ich drucken kann (printing in Emacs) Gottfried
2022-12-27 17:35             ` Jean Louis
2022-12-27 16:39           ` wie kann ich Emacs so einstellen, dass ich drucken kann (printing with paps) Gottfried
2022-12-27 16:47             ` Gottfried
2022-12-27 17:37               ` Jean Louis
2022-12-28 16:31                 ` printing with paps Gottfried
2022-12-30 14:26                   ` Jean Louis
2022-12-31 12:09                     ` Gottfried
2022-12-31 22:53                       ` Jean Louis
2022-12-31 23:46                         ` Jean Louis
2023-01-01 14:24                           ` Gottfried
2023-01-01 14:53                             ` Jean Louis
  -- strict thread matches above, loose matches on Subject: below --
2022-12-17 12:31 printing Gottfried
2022-12-17 13:09 ` printing tomas
2016-03-03 14:35 Printing Sharon Kimble
2016-03-03 20:22 ` Printing tomas
2016-03-05 13:40 ` Printing Robert Thorpe
2003-03-18 21:18 printing Kevin Reeder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).