:: Re: [DNG] lpr command not working
Top Page
Delete this message
Reply to this message
Author: Tomasz Kundera
Date:  
To: Haines Brown
CC: dng
Subject: Re: [DNG] lpr command not working
On Tue, Nov 16, 2021 at 1:07 PM Haines Brown <haines@???> wrote:

> On Mon, Nov 15, 2021 at 07:56:06PM -0500, Steve Litt wrote:
> > Haines Brown said on Mon, 15 Nov 2021 19:21:15 -0500
> >
> >
> > >My printer lost its status as default, but I can't get to the CUPS
> > >web page to restore it
> >
> > Let me ask you a few probably dumb questions...
> >
> > * Was cupsd running?
> > * Did you go to http://127.0.0.1:631/ ?
> > * When CUPS asked for user and password, did you type root and your
> > machine's root password?
> > * Did you go to Administration=>Set as default server for the printer
> > you want to be default?
>
> Yes cupsd is running:
>
>   $ ps -auxw | grep cups
>   haines   28191  0.0  0.0   6560  3416 pts/6    S+   05:21   0:00 nano
> cupsd
>   haines   29295  0.0  0.0   6180   664 pts/15   S+   06:51   0:00 grep
> cups

>


There is no running cups on your list. There are only grep and nano. Are
you editing cupsd with nano?
Running cups should show something like /usr/sbin/cupsd


> On other hand,
>
> # cupsd -h
> -bash: cupsd: command not found
>


So there is no cupsd or your PATH is bad (are you root?).


>    # service cups start

>
>    # service cups status

>


Your cups is not running. Should show:
[ ok ] cupsd is running.


--
Tomasz Kundera