[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Printer definition
From: |
Ed Reingold |
Subject: |
Re: Printer definition |
Date: |
Tue, 24 May 2011 20:01:46 -0000 |
User-agent: |
G2/1.0 |
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). Debugging
this meant going through the ELisp code in lpr.el and ps-print.el,
something that I
should never have had to do.
On May 2, 2:10 pm, Ed Reingold <edward.reing...@gmail.com> wrote:
> I cannot get the default printer/command working! I tried the
> following:
>
> /usr/local/emacs-23.3/bin/emacs -q -l em23-printer-test
>
> where the file em23-printer-test contains the two lines
>
> (setq printer-name "HP4050HM_FDx")
> (setq lpr-command "lpr")
>
> and then try to print a buffer, but nothing happens. When I do
>
> lpr -PHP4050HM_FDx .login
>
> in a shell, it works fine. What am I doing wrong? I have the same
> problems
> when trying to use ps-print.