Problem using HP Officejet Pro 8600 printer

Moderators: 666philb, Forum moderators

Post Reply
paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

I have a Lenovo Thinkpad Edge E520 11143AFU Laptop with 8GB Ram, 500 GB HDD and 2.40 GHZ
processor speed with Windows 7 Professional and Fossapup64-9.5 installed. WIFI is Intel
Centrino Wireless-N 1000 IEEE 802.11 b/g/n.

Recently I got a new modem and higher internet speed. I am trying to install a
statically configured HP Officejet Pro 8600 Plus printer (ipp 192.168.254.20).
The printer is connected to a desktop machine via usb and that connection works 100% of
the time. It is connected via wifi to my laptop and to my wife's iPad. It seems that at
times, the wifi connection goes to sleep. When that happens, power cycling the printer
or rebooting Windows 7 makes it available again. I have used CUPS to create a new
default printer n911g (see below). When I try to print a test page, I get a printer
paused message. If I release it and try again I got a printer bad config message so I
told Cups to switch to the default config. This caused me to lose all access to do
anything without providing a userid and password which I never had to begin with. What
can I do to move forward? Thanks for any help anyone can provide.

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: cups/printing

Post by paperboy1994 »

fossa.jpg
fossa.jpg (30.81 KiB) Viewed 1336 times
d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: cups/printing

Post by d-pupp »

@paperboy1994 I looked at your screenshot and I can't tell for sure if there is a : in your connections: It should be ipp://your ip/
If that doesn't work you could try resetting the print driver
1 Make sure the printer is awake (Not sleeping)
2 Click the printer > Administration > Modify printer
3 Change the print driver to Generic > IPP Everywhere

good luck

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: cups/printing

Post by paperboy1994 »

d-pupp the ip address is correct. When i get to the modify printer step, cups wants a username and password which I don't have.i

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: cups/printing

Post by d-pupp »

cups wants a username and password which I don't have.i

I'm not sure of the password However in puppy the user is root and the password is usually woofwoof

You can also create your own password either from the menu option or from the command line. Just open a terminal and type passwd. It will ask you to enter the new password twice.

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp
I tried userid root and password woofwoof which were not accepted. I didn't see anywhere where I could create a Cups password.
Still stuck.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

I didn't see anywhere where I could create a Cups password.

@paperboy1994 It is not a cups password it is the root password that cups is looking for.
Just change the root password to something that you know and you should be good to go.
Just open a terminal and type passwd. It will ask you to enter the new password twice.

williams2
Posts: 1062
Joined: Sat Jul 25, 2020 5:45 pm
Been thanked: 305 times

Re: Problem using HP Officejet Pro 8600 printer

Post by williams2 »

It is not a cups password it is the root password that cups is looking for.

sudo does not ask for root's password.
sudo asks for spot's password.

Most Pups do not have a password set for spot.
To use spot's password, it must be set first.

Code: Select all

# passwd spot
Changing password for spot
New password: tops
Retype password: tops
passwd: password for spot changed by root

# su spot
$ sudo su

We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

Password: woofwoof
Sorry, try again.
Password: tops
spot is not in the sudoers file.  This incident will be reported.
$ 

But it won't work.
Spot is not set up to use su or sudo.
So spot can't install software to the system files,
for example, files in /usr.

It makes sense if you think of the computer
as a mainframe in a university
with 1000 students each with a user name and password.
Giving them all root's password to use
to mount and unmount a tape drive, eg, would be disastrous.
And if someone forgot to log out, anyone could
sit at their workstation and use that user account to cause havoc.
Asking for that user's password helps to prevent that.

In this particular case, I don't know which user Cups wants.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

In this particular case, I don't know which user Cups wants.

My understanding is that some tasks like adding a printer requires root access. So it looking for the root password.
This is because cups has it's own security access system.

Puppy is not like other versions of Linux you may have used. The primary user is root. Some Internet facing applications like the web browser use the restricted user spot. On most stock puppies su does nothing.

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp

i changed my root password to woofwooof. When I tried modify printer and typed in root and woofwoof, it was rejected and the top line says http://localhost:631 is requesting your username and password. the site says "CUPS" Remember, initially I said that when my print jobs were not going to my printer and I was getting a printer config error message, i told CUPS to use the default configuration which is when I started getting the CUPS error screens.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994 Thanks

Have you restart this PC since the trouble began?

OK the config files for cups are at /etc/cups
As far as I know the one that controls access is cupsd.conf

On about line 39 you should see this...

Code: Select all

# Restrict access to the admin pages...
<Location /admin>
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
</Location>

# All administration operations require an administrator to authenticate...
> Require user @SYSTEM < try commenting out this line (put # at the beginning of the line, save the file) and restart cups
To restart cups open a terminal window and type

Code: Select all

service cups restart

This is from cups version 2.4.10 (from the cups web interface "Home" page)

However if you are having config problem you might want to replace the config files with the default ones.
I can share mine but they maybe different. I'm using Vanilladpup 11

User avatar
mikewalsh
Moderator
Posts: 6158
Joined: Tue Dec 03, 2019 1:40 pm
Location: King's Lynn, UK
Has thanked: 795 times
Been thanked: 1981 times

Re: Problem using HP Officejet Pro 8600 printer

Post by mikewalsh »

@paperboy1994 :-

You could try using the p910nd Print Server.

I have a similar setup to you. The printer - a 14-yr old Epson, which still works fine ATM, is connected via USB to my main desktop rig in the bedroom. I have an older Dell Latitude laptop, using a period NetGear CardBus wifi adapter which I wanted to set-up to print to the printer in the bedroom.

This printer - an Epson Stylus SX218, the direct fore-runner of the first WorkForce series - is USB-only. No wireless, and never did have.

The print-server doesn't go through CUPS at all. It ignores it, and completely bypasses it on the machine with the attached printer.....sending the material direct to the printer itself via the /dev/usb/lp0 socket.

Essentially, you set-up your CUPS printer stuff on the client EXACTLY as though the printer was connected to it, rather than the server. You'll need to install your printer drivers & stuff here.....NOT the "server". This will then send a ready-formatted 'job' straight to the server, which in turn routes it direct to the printer.

It works very nicely; at least, it does for me.

============================

I outlined the entire process here, along with a link to the thread on the old Forum:-

https://forum.puppylinux.com/viewtopic.php?t=10068

Entirely up to you, of course.....but it may "serve" your purpose. You DO need to install and set-up p910nd appropriately on both machines. The link to the old Forum explains it all from start to finish.

Let us know if that helps. If the download link on the old Forum is now dead, give me a shout and I'll let you have a copy of my own download from a few years ago.

Mike. ;)

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp

First I would like to thank you for all your support. You asked if I had rebooted my
laptop machine. The answer is multiple times on most days. When you said that the
config files for cups are at /etc/cups and the one that controls access is cupsd.conf, a
light went off in my head because it reminded me that I still had my first system save
on an ext4 partition. I then compared the files in cupsd.conf there with those in the
sda1 ram disk. What I found was that both had 187 lines in cupsd.conf and 51 lines in
hplip.conf within cupsd.conf. However the file printers.conf within cupssd.conf which is
for Cups itself was 24 lines in my first save and 46 lines in ram, which meant that that
is the file that caused my problem in Cups itself. So I opened the file in the editor
and did a copy and and replace the file in ram. I did this on Saturday. On Sunday when
I opened Cups I found a vanilla Cups screen. My printer was gone so I knew that I would
have to create it again. However when I read some documents on the Cups website it
became clear to me that the username / password issue could still be a problem because
in some places Cups says that the username should be the computer name and password. In
other places it says it should be root an its password or the username and its password.
It also says that one should not use the Cups graphic interface if there is no password.
So, on Tuesday I tried the following:

Attachments
printer2.jpg
printer2.jpg (15.26 KiB) Viewed 760 times
printer2.jpg
printer2.jpg (15.26 KiB) Viewed 760 times
dogcat
Posts: 265
Joined: Fri Feb 18, 2022 11:14 pm
Has thanked: 73 times
Been thanked: 122 times

Re: Problem using HP Officejet Pro 8600 printer

Post by dogcat »

I don't have an HP printer, I have a Brother.

When I set up my printer in Puppy Linux it has always been easiest for me to get my printer working with a printer cable first. After it works with a cable I set up the wireless.

That may not be the case with an HP but may be worth a try?

Μακάριοι οι καθαροί στην καρδιά * επειδή, θα δουν τον Θεό.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994 Make sure your printer is awake first. This works by communicating with the printer so it must be awake.
Try shorting your command

lpadmin -p HP Pro 8600 -E -v ipp://198.168.254.20/ -m everywhere

If this works it still won't solve the password problem in cups...sorry that a different issue (see previous post)

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

On Friday, I opened two terminal sessions. On the first I typed in what I
thought was a proper lpadmin command. but did not hit the enter key yet.
On the second I issued a ping command to my wifi printer which tends to go to
sleep since my modem/router was upgraded when I switched internet providers to
get a faster internet with a stronger wifi signal. The ping command executed
normally. I then issued a Ctrl c to stop the ping and immediately hit the enter
key on the first terminal screen. The result was the message "Unable to query
printer: Not Found" I do not understand what this means since both terminal
sessions were addressing my printer (192.168.254.20) and the printer doesn't go
to sleep that fast.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994 I searched your printer. It doesn't look to me like it support ipp printing. At least I didn't see it in the specs.

Looks like you are going to have to install the HP software.
Here is a link to installing in Ubuntu. It should get you started.
https://www.cyberciti.biz/faq/how-to-in ... ntu-linux/

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp

the second page of the HP Network Configuration printout says that IPP status is enabled
along with Port 9100, and Bonjour.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994 I'm running out of idea's.
If ipp printing is enabled the only other thing I can think of is try a few different ways to connect.
ie if
lpadmin -p HP Pro 8600 -E -v ipp://198.168.254.20/ -m everywhere doesn't work and
lpadmin -p HP Pro 8600 -E -v ipp://198.168.254.20/ipp/print -m everywhere
try
lpadmin -p HP Pro 8600 -E -v ipp://198.168.254.20/ ipp/print/ -m everywhere
lpadmin -p HP Pro 8600 -E -v ipp://198.168.254.20/print -m everywhere
lpadmin -p HP Pro 8600 -E -v ipp://198.168.254.20/print/ -m everywhere
There has to be some crazy little thing that keeping it from connecting.

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994 Try this from forum member rcrsn51 hplip print/scan driver
viewtopic.php?t=7450

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp

When I boot my laptop into either windows7 Professional or fossapup64 both systems connect to my wifi because they are know how to connect to my wpa2 wireless network. My printer is
also on the same wifi network. Do you think that not knowing how to connect to a protected network could be the reason for the unable to query and not found messages that I am getting on fossapup64?

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994

Do you think that not knowing how to connect to a protected network could be the reason for the unable to query and not found messages that I am getting on fossapup64?

No I think it more likely syntax.
I have a Brother network printer and connecting to it was syntax specific. For example
This didn't work
ipp:// 192.168.10.10
This did work
ipp:// 192.168.10.10/

That is why I suggest trying other options
How old it this printer?

d-pupp
Posts: 338
Joined: Tue Nov 22, 2022 9:11 pm
Location: Canada
Has thanked: 190 times
Been thanked: 52 times

Re: Problem using HP Officejet Pro 8600 printer

Post by d-pupp »

@paperboy1994 I have looked into this issue farther and did some testing on my system

The following all work on for me
ipp;//ip address/
ipp;//ip address/ipp
ipp;//ip address/ipp/print

Also I have read on the Apple site (cups and ipp are their software) that not all printer manufactures implement ipp correctly. They only recommend using ipp if the printer manufacturer states that ipp printing is supported.
Also all the HP setups that I could find are using the HP software (hplip) not ipp.
At this point it might be best to use hplip from forum member rcrsn51.

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp

my printer was purchased in 2014. The printer USB connection always works. The
WIFI connection can go to sleep. With Windows 7 Professional printing via the
WIFI connection works if the printer is awake. If it is not, either rebooting
windows or rebooting the printer, will cause any queued pages to print. I know
that both Windows and Fossapup64 know the ESSID and the password to connect to
the WIFI. In Windows, the system also handles the printing, but in Fossapup,
it is CUPS that needs to have that information and I don't see a mechanism by
which it can gain access, resulting in the "Unable to Query" and "Not
Found" result. I'm fairly certain the problem is not a mis-typed ipp command.

paperboy1994
Posts: 29
Joined: Wed Sep 09, 2020 2:16 pm
Been thanked: 2 times

Re: Problem using HP Officejet Pro 8600 printer

Post by paperboy1994 »

d-pupp

I want to thank you again for all the time and help you have provided. At this
point, I can't even get Cups to do any thing other than going to the pale moon
browser. Going forward I will continue doing what I have done in the past when I
want to print something in Fossapup64. That is, I download it to the Downloads
folder under spot and then copy it to a Windows 7 partition so I can print it. I
am so sorry that we both have spent so much time on my problem, but enough is
enough. All the best to you.

paperboy 1994

Post Reply

Return to “Fossapup64”