lpadmin -d <printer> is ignored

Michael Sweet mike at easysw.com
Wed Aug 11 05:22:31 PDT 2004


ekkard gerlach wrote:
> I tested  lpadmin -d <printer>   on two Suse8.2 machines
> but the command is alwas ignored. The command seems to be
> accepted (no message/ error reported) but lpstat -p -d
> reports: no system default destination
> 
> pserver:~ # lpadmin -d laserpr
> pserver:~ # lpstat -p -d
> printer eps570rosset is idle.  enabled since Jan 01 00:00
> printer laserpr is idle.  enabled since Jan 01 00:00
> printer test is idle.  enabled since Jan 01 00:00
> no system default destination
> 
> I tested lpstat -d on two different machines. Where is
> the error?

The lpoptions default as well as the LPDEST and PRINTER environment
variables override the server default set with lpadmin.  If either
points to a non-existing printer, then you'll get that message.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Printing Software for UNIX                       http://www.easysw.com




More information about the cups mailing list