unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: <tomas@tuxteam.de>
To: help-gnu-emacs@gnu.org
Subject: Re: printing
Date: Sat, 17 Dec 2022 07:29:51 +0100	[thread overview]
Message-ID: <Y51h35W68vHJ5uE6@tuxteam.de> (raw)
In-Reply-To: <87a63nq928.fsf@web.de>

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

On Fri, Dec 16, 2022 at 11:26:39PM +0100, Michael Heerdegen wrote:
> 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?

This is the first I'd try, yes. In a console, do

  lpq -a

This should show you all the printer queues your
system thinks it has. The printer queue you mention
above ("HP_Officejet_J4680_All-in-One") should show
up in the list.

Then try

  lpr -P HP_Officejet_J4680_All-in-One <some filename>

where <some filename> is the name of some existing (text
or Postscript or PDF) file and see what it happens.

Once you have that running, the Emacs part should be
easy.

Have you printed anything with your computer (outside
of Emacs) yet? How have you done it?

Cheers
-- 
t

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

  reply	other threads:[~2022-12-17  6:29 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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       ` tomas [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Y51h35W68vHJ5uE6@tuxteam.de \
    --to=tomas@tuxteam.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).