[cups.development] lpstat -d is lying ?

Markus.Grunwald at pruftechnik.com Markus.Grunwald at pruftechnik.com
Mon Aug 29 03:36:18 PDT 2005


Hello,

It seems, the command "lpstat -d" is lying to me... The man page says:

 -d
            Shows the current default destination.

What happens is this:

1$ lpstat -d
   system default destination: Stylus
2$ grep Default /etc/cups/printers.conf
   <DefaultPrinter Stylus>
3$ lpadmin -d test
4$ grep Default /etc/cups/printers.conf
   <DefaultPrinter test>
5$ lpstat -d
   system default destination: Stylus

When I ask localhost:631, it tells me that "test" is now the default 
printer...

What is wrong ?

TIA

Markus Grunwald
Softwareentwicklung

PRÜFTECHNIK Condition Monitoring GmbH
Oskar-Messter-Straße 19-21
85737 Ismaning
www.pruftechnik.com
Tel: +49 (0)89 99616177
Fax: +49 (0)89 99616200





More information about the cups-devel mailing list