On Fri, May 16, 2003 at 03:11:26PM +0100, Clive Menzies wrote:
> Thanks Gee
>
> On (16/05/03 13:23), Gee Law wrote:
> > On Fri, May 16, 2003 at 12:05:12PM +0100, Clive Menzies wrote:
> > > I've set-up printing using CUPS which works fine for Konqueror (KDE3.1)
> > > and K-Write but if I try to print from say Galeon or AbiWord the printer
> > > defaults to "lpr". I found by accident that changing the printer to "lp"
> > > works and so for those applications printing is fine.
> > >
> > > My difficulty arises when printing from a Shell, in particular Mutt. I
> > > can't find where to set the default printing instruction to "lp". I
> > > checked through .muttrc and there didn't appear to be any relevant
> > > references in there.
> >
> > print_command perhaps?
> >
> > e.g.
> >
> > # muttprint stuff
> > set print_command="muttprint"
> >
> I've made progress of sorts - set print_command="muttprint" The
> muttprint man page recommends that you set the name of the printer
> because lp doesn't work - so I've named the printer Epson in
> /etc/Muttprintrc.
>
Do you have the muttprint documentation package installed? It has step
by step instructions. Here are the relevant lines from my .muttrc:
set print_command="muttprint"
set print="yes"
macro index p <display-toggle-weed><print-message><display-toggle-weed><exit>
macro pager p <display-toggle-weed><print-message><display-toggle-weed>
You need to have set print="yes" otherwise it won't work (see the manaul).
From what I understand you need to set PRINT_COMMAND to lp in .muttprintrc.
You shouldn't need to change PRINTER.
>
> When I print a message in mutt it says it has printed but nothing happens.
> I tried $ lpq -P Epson which returned "lpq: Epson: unknown printer"
The printer name that the man{ual,page} is referring to is the system
printer names, i.e. the names in /etc/printcap.cups
It's strange that lpr doesn't work and lp does.
>
> lpq contains, I guess, all of the messages I've tried to date so they
> are spooling but getting lp to print to the Epson seems to be the
> problem.
>
> Any further guidance would be appreciated
>
> Regards
>
> Clive
>
> www.clivemenzies.co.uk - strategies for business
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
Gee Law, gee(at)cromulent(dot)org(dot)uk
www.dizzyduck.uklinux.net [GPG key]
Attachment:
pgpo_pd6FS8Sv.pgp
Description: PGP signature