Re: [SLUG] cups printing with RH 7.3 no default printer

From: Matt Miller (mmiller1@mptotalcare.com)
Date: Thu Jul 18 2002 - 11:08:53 EDT


On Thu, 2002-07-18 at 10:12, Mike Manchester wrote:
> Is anyone using cups and Redhat 7.3? I have cups setup to print to my
> Epson C60 and all is working, kinda. I can't seem to get a default
> printer setup. I've tried the man pages and did the lpadmin -E -h
> localhost -P epsonc60 as stated in the man pages. I've also searched
> google but still can't get programs such as mozilla or gedit to print to
> a default printer. I can get them to print by doing lpr -P epsonc60. But
> what a pain as I have to define this everytime I need to print from the
> application. What the heck am I missing? I don't remember having this
> problem with Cups on 7.2 I have also removed the LPR and printer-conf as
> per the Cups instructions.
> Thanks for any insight into this problem
> Mike M.

`lpstat -d` will show your default printer.

in .bash_profile (or .profile) add:

    alias lpr="lpr -P epsonc60"

This will set a lpr alias to refer to the correct printer destination.

You could also add a PRINTER variable:

    export PRINTER=lpr

-- 
Matt Miller
Systems Administrator
MP TotalCare
gpg public key id: 
08BC7B06




This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 14:02:59 EDT