CUPS help centos 6.9

General support questions
Post Reply
pete056
Posts: 6
Joined: 2017/06/27 15:10:38

CUPS help centos 6.9

Post by pete056 » 2017/06/27 15:33:55

HELP please.
I am just returning to Linux after an absence of about thirty years.
Most of what i knew is coming back to me BUT I am having trouble with CUPS.
I had an HP printer Officejet-J4680 which I managed to get working with my network.
Unfortunately I had to replace the printer and went with another wi-fi Brother MFC-J480DW.
I have managed to install the printer to my local machine and downloaded the drivers from Brother.
However I cannot get rid of that HP printer, no matter what I try.
I have used lpadmin -x to delete and it goes away.
I have deleted all reference I can find in my directory structure to any HP stuff.
I have even un-installed cups and re-installed it to no avail
Every time I reboot my machine the old printer shows up.
Can anyone tell me how to get rid of the darned thing, please??
Pete056

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CUPS help centos 6.9

Post by TrevorH » 2017/06/27 17:22:19

Logon to the cups web page on http://localhost:631 and see if you can do it from there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pete056
Posts: 6
Joined: 2017/06/27 15:10:38

Re: CUPS help centos 6.9

Post by pete056 » 2017/06/27 18:43:48

Thanks Trevor for your quick response.
I tried that and all I get is 403 Forbidden

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CUPS help centos 6.9

Post by TrevorH » 2017/06/27 20:12:31

That does of course assume that you are using the browser on the machine that has cups running on it...
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

pete056
Posts: 6
Joined: 2017/06/27 15:10:38

Re: CUPS help centos 6.9

Post by pete056 » 2017/06/27 22:10:21

Hi Trevor
Yes it is the same machine.
I have even tried logging in as root and still get the same error 403 Forbidden
As I say, lpadmin -x HP-Officejet-J4680 will remove the printer but it comes back
I assume there is a config file that I am missing somewhere or it is loading from somewhere else.
This is annoying me but I cannot find the problem.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: CUPS help centos 6.9

Post by gerald_clark » 2017/06/27 22:17:40

Do:
restorecon -R /etc/cups

pete056
Posts: 6
Joined: 2017/06/27 15:10:38

Re: CUPS help centos 6.9

Post by pete056 » 2017/06/27 23:16:04

Hi Gerald
I tried this without result.
I am logged in as root on a terminal.
I stopped cups, (/etc/rc.d/init.d/cups stop)
Tried your command and then started cups again.
I even shut down the cups web page on the browser and still that damned HP printer remains.
Thanks for the thoughts though and anyone else please chip into this conversation.

Post Reply