"Printer not connected" - but it is

Roger Morgan halbtaxabo-rm at yahoo.com
Thu Jul 20 00:37:36 PDT 2006


> Roger Morgan <halbtaxabo-rm at yahoo.com> wrote (Wednesday 19 July 2006 12:09):
>
> > I'm using Debian Etch. I can't print through CUPS. The status is "Printer not connected; will retry in
> > 30 seconds...". CUPS correctly shows the device URI as usb:/dev/usb/lp0.
> >
> > But if I generate a gdi file with ghostscript, then su to root,
>
> Ah, you're cheating  :-)
>
> > I can do this:
> > cat file.gdi >/dev/usb/lp0
> > and it prints successfully.
>
> Here's a challenge for you: Don't su to root, su to that user which
> cupsd is running as instead (cupsys?, lp? -- dunno what Etch uses...).
> Then repeat again what you did above as root.

In Debian Etch, cupsd runs as root:

rm at Leo:~$ ps -ef | grep -i cups
root      2616     1  0 08:28 ?        00:00:00 /usr/sbin/cupsd

Some of the perl-script filters run under lp, but the cups daemon itself runs under root.





More information about the cups mailing list