unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Re: printing
@ 2022-12-17 12:31 Gottfried
  2022-12-17 13:09 ` printing tomas
  0 siblings, 1 reply; 12+ 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] 12+ messages in thread
* wie kann ich Emacs so einstellen, dass ich drucken kann
@ 2022-12-14 16:38 Gottfried
  2022-12-14 17:27 ` Philip Kaludercic
  0 siblings, 1 reply; 12+ 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] 12+ 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; 12+ 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] 12+ messages in thread
* printing
@ 2003-03-18 21:18 Kevin Reeder
  0 siblings, 0 replies; 12+ 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] 12+ messages in thread

end of thread, other threads:[~2022-12-17 16:30 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-17 12:31 printing Gottfried
2022-12-17 13:09 ` printing tomas
  -- strict thread matches above, loose matches on Subject: below --
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
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).