setting default printer: lpadmin -d

st.graf st.graf at fz-juelich.de
Wed Jan 25 03:54:36 PST 2006


Anonymous wrote:
> Hi,
> 
> Can someone suggest why the following is observed:
> 
> user1 at machine:~$ lpstat -d
> system default destination: PRINTER2
> user1 at machine:~$ su
> Password:
> machine:/home/user1# lpadmin -d PRINTER1
> machine:/home/user1# lpstat -d
> system default destination: PRINTER1
> machine:/home/user1# exit
> exit
> user1 at machine:~$ lpstat -d
> system default destination: PRINTER2
> user1 at machine:~$
> 
> This is on Debian Sarge w/ 2.6 kernel and Cups 1.1.23.
> 
> thanks

I think, if you look at the .lpoptions file in the user1-home directory, 
        there will be the answere.
A normal user must not be able to set the systems default printer. Only 
root or a privileged printer-account.

Stephan




More information about the cups mailing list