all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Printer definition
Date: Tue, 03 May 2011 21:50:58 -0300	[thread overview]
Message-ID: <jwvk4e7xpep.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: 81dce585-a99e-4908-a73f-25729f644791@v10g2000yqn.googlegroups.com

> The problem is that, for some reason, the flag to the lpr command was
> set to "-d"
> instead of  "-P" even though Emacs knows it's a Unix-like system
> (Solaris).

"lp -d<printer>" is a standard Unix command, and lpr.el apparently
thinks it's the right command to use for your system.  IIRC Solaris
indeed has an "lp" command (tho my experience with Solaris is from many
years ago), so normally all you have to do is (setq printer-name
"HP4050HM_FDx").  Have you tried to simply remove the (setq lpr-command
"lpr")?

Admittedly, maybe lpr-printer-switch should be automatically updated to
"-P" if you set lpr-command to "lpr".


        Stefan


  reply	other threads:[~2011-05-04  0:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-02 19:10 Printer definition Ed Reingold
2011-05-03 15:10 ` Ed Reingold
2011-05-04  0:50   ` Stefan Monnier [this message]
2011-05-06  0:26     ` Ed Reingold
2011-05-06 16:40       ` Stefan Monnier
2011-05-06 22:19         ` Ed Reingold

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

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

  git send-email \
    --in-reply-to=jwvk4e7xpep.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.