[cups.general] Default Printer location

Pat H. Minatra pminatra at hsutx.edu
Tue Mar 14 11:09:39 PST 2006


So what sets the 'network default' printer?  I thought the 'network default'
printer was done by being root and running the command 'lpoptions -d
printername'; but based on this I seem to be confused.

Thanks for any clarification.


-------------------------
"Life is but a twinkle in the eye of eternity"
"The shortest distance between a problem and a solution is the distance
between your knees and the floor"
"sorrow looks back - worry looks around - faith looks up"
Regards,
Pat H. Minatra - N5GJR
(325) 670-5804 voice
(325) 670-1570 fax
Hardin*Simmons University
http://www.hsutx.edu
PO BOX 16040
Abilene, TX  79698

-----Original Message-----
From: cups-bounces at easysw.com [mailto:cups-bounces at easysw.com] On Behalf Of
Michael Sweet
Sent: Tuesday, March 14, 2006 9:26 AM
To: cups at easysw.com
Subject: Re: [cups.general] Default Printer location

Minatra, Pat H. wrote:
> Why does /etc/cups/printers.conf report the default printer to be
> different from the lpstat -d command?

The default in /etc/cups/printers.conf (or classes.conf) is the
*server* default (also known as the network default printer in
CUPS 1.2).

The lpstat -d command reports the *user* default which may be
different.  The "lpoptions -d printername" command sets the
user default printer, which is stored in /etc/cups/lpoptions when set
by root or ~/.lpoptions (CUPS 1.1.x) or ~/.cups/lpoptions (CUPS 1.2)
when set by an ordinary user.

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com
_______________________________________________
cups mailing list
cups at easysw.com
http://lists.easysw.com/mailman/listinfo/cups





More information about the cups mailing list