"no system default destination" as user, but fine as root.

Philipp Burath philipp.burath at conocophillips.com
Tue May 29 01:26:23 PDT 2007


Hi,

We are running a cups 1.2.10 server on RHEL 3.0 box and the clients run cups-1.1.17-13.3.37 also on RHELWS 3.0 boxes.

As root on the server I have set the default printer, using lpadmin (system wide default)

[root at petcelx05 root]# lpstat -s
system default destination: PER0023

however, when I do this as a normal user on the server, I get:
lpstat: error - PRINTER environment variable names non-existent destination "hp4600dn"!

The hp4600dn printer was one that I had deleted from the system previously.

On our clients the story is similar:
[root at per-3zt4k1s cups]# lpstat -s
system default destination: PER0023

As user:
per-3zt4k1s:/home/buratp> lpstat -s
no system default destination

Due to the fact that the default printer is not set, I get the following message when trying to print to the default printer with lpr:
lpr: error - no default destination available.

Is this because the server isn't propogating the default printer to the clients, as they are different versions of cups??

Any Ideas on how I can fix this?

Thanks alot
Regards
Philipp





More information about the cups mailing list