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

Philipp Burath philipp.burath at conocophillips.com
Tue May 29 20:27:30 PDT 2007


> Philipp Burath wrote:
> > 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?
>
> Don't set the PRINTER environment variable?
>
> --
> ______________________________________________________________________
> Michael Sweet, Easy Software Products           mike at easysw dot com
> Internet Printing and Publishing Software        http://www.easysw.com

Hi Michael,

this fixed the problem! Thanks alot

Regards
Philipp





More information about the cups mailing list