Many attempts to download HPLIP all incomplete???

Asked by Alan Fortune

Have just completed updating to Linux Mint 20 successfully.

The HP Deskjet 2621 refuses to be recognised. Keeps telling me the printer is not connected.
Turned all off, disconnected all connections (USB) & power to printer.
Reinstalled connections, continue to get message of NOT connected to printer.
Changed printer USB cable & USB port.
Continue to get message that printer not installed.
Printer copies & prints OK.

Many attempts to download HPLIP hplip/3.20.6/hplip-3.20.6.run
All incomplete.
Message read: incomplete due to:
The file you opened has some invalid characters. If you continue editing this file you could corrupt this document.
You can also choose another character encoding and try again.

No idea how to continue.

Question information

Language:
English Edit question
Status:
Expired
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
brian_p (claremont102) said :
#1

> Printer copies & prints OK.

LM20 has set up your printer for you. What's the problem? Why do you
need HPLIP?

Revision history for this message
Alan Fortune (kiwioil) said :
#2

Hi,

My computer tells me the printer is NOT connected
I have changed cables & USB ports.

On Sat, 18 Jul 2020 at 11:20, brian_p <email address hidden>
wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> Status: Open => Answered
>
> brian_p proposed the following answer:
> > Printer copies & prints OK.
>
> LM20 has set up your printer for you. What's the problem? Why do you
> need HPLIP?
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/hplip/+question/691936/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/hplip/+question/691936
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

Quote: "The file you opened has some invalid characters."

Read the instructions https://developers.hp.com/hp-linux-imaging-and-printing/downloads

You should not open the hplip.run file with your editor, but you should open a terminal window and start the HPLIP installation with the command
sh hplip-3.20.6.run

But if the computer cannot identify the connection to the printer, then I doubt that installing additional software will help.

Do you see the printer in the output of the command
lsusb

Revision history for this message
brian_p (claremont102) said :
#4

I quoted what you said:

  > Printer copies & prints OK.

Does the printer print or not?

Revision history for this message
brian_p (claremont102) said :
#5

> Printer copies & prints OK.

Worked this out (possibly).

You use the copier, Printing takes place. You think this is significant.

It isn't. It has nothing to do with the Mint printing system.

Revision history for this message
Alan Fortune (kiwioil) said :
#6

Hi,

Yes, but as I said before, only from the printer using the copy function.

The computer tells me the printer is not connected.

Much appreciated.

Alan

On Sun, 19 Jul 2020 at 07:35, brian_p <email address hidden>
wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> brian_p posted a new comment:
> I quoted what you said:
>
> > Printer copies & prints OK.
>
> Does the printer print or not?
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Alan Fortune (kiwioil) said :
#7

Hi,

I understand that.

With the connection to the computer reestablished, the printer turned on.

Go printers & search for a printer.

Found my HP Deskjet 2621 & selected.

Attempt to print unsuccessfully.

Message displayed as: Printer not connected??

Alan

On Sun, 19 Jul 2020 at 07:55, brian_p <email address hidden>
wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> brian_p posted a new comment:
> > Printer copies & prints OK.
>
> Worked this out (possibly).
>
> You use the copier, Printing takes place. You think this is significant.
>
> It isn't. It has nothing to do with the Mint printing system.
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
brian_p (claremont102) said :
#8

Say whether you are using a USB connection and give the outputs from

systemctl list-units "ipp*" | grep service
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
lpstat -l -e
lpstat- t
driverless
lpinfo -v

Revision history for this message
Alan Fortune (kiwioil) said :
#9

Hi,

I am not into programming so have no idea what:
Say whether you are using a USB connection and give the outputs from

systemctl list-units "ipp*" | grep service
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
lpstat -l -e
lpstat- t
driverless
lpinfo -v

I am using a USB connection which is telling me there is no connection to
the printer.

I have installed a thumbdrive into this same USB & it reads fine.

There must be something within Mint 20 which is causing the problem.

I did experience problems with the printer when I first installed upgraded
to 19.3.
I do not remember what I did to overcome the problem.

Alan

On Sun, 19 Jul 2020 at 11:20, brian_p <email address hidden>
wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> Status: Open => Needs information
>
> brian_p requested more information:
> Say whether you are using a USB connection and give the outputs from
>
> systemctl list-units "ipp*" | grep service
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> lpstat -l -e
> lpstat- t
> driverless
> lpinfo -v
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/691936
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#10

Open a terminal window (e.g. by simultaneously pressing ctrl-alt-t) and issue the following commands, one by one when the printer is plugged into the USB port and powered on:

lsusb
systemctl list-units "ipp*" | grep service
avahi-browse -rt _ipp._tcp
avahi-browse -rt _uscan._tcp
lpstat -l -e
lpstat- t
driverless
lpinfo -v

Then use the terminal window's menu entries "edit - select all" and "edit - copy" and paste everything into the "Message:" box of your question document https://answers.launchpad.net/hplip/+question/691936

Revision history for this message
Alan Fortune (kiwioil) said :
#11

Hi,

All went well until I entered:

alan@alan-Lenovo-ideapad-330-15IKB:~$ lpstat- t

Command 'lpstat-' not found, did you mean:

  command 'lpstat' from deb cups-client (2.3.1-9ubuntu1.1)
  command 'lpstat' from deb lprng (3.8.B-2.2)

Try: sudo apt install <deb name>

Tried again with the same result???

More assistance appreciated.

Alan

On Sun, 19 Jul 2020 at 20:50, Manfred Hampl <
<email address hidden>> wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Open a terminal window (e.g. by simultaneously pressing ctrl-alt-t) and
> issue the following commands, one by one when the printer is plugged
> into the USB port and powered on:
>
> lsusb
> systemctl list-units "ipp*" | grep service
> avahi-browse -rt _ipp._tcp
> avahi-browse -rt _uscan._tcp
> lpstat -l -e
> lpstat- t
> driverless
> lpinfo -v
>
> Then use the terminal window's menu entries "edit - select all" and
> "edit - copy" and paste everything into the "Message:" box of your
> question document https://answers.launchpad.net/hplip/+question/691936
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/691936
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#12

Sorry, it seems that there is a typo error in the commands.

It should have been

lpstat -t

Revision history for this message
Alan Fortune (kiwioil) said :
#13

Hi,

Amazing, my printer is now functioning again.

Very much appreciated.

Alan

On Mon, 20 Jul 2020 at 07:05, Manfred Hampl <
<email address hidden>> wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> Sorry, it seems that there is a typo error in the commands.
>
> It should have been
>
> lpstat -t
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/hplip/+question/691936
>
> You received this question notification because you asked the question.
>

Revision history for this message
brian_p (claremont102) said :
#14

> Amazing, my printer is now functioning again.

Good. Now, please mark this thread as "solved" to help other users.

Revision history for this message
Alan Fortune (kiwioil) said :
#15

Amazing, my printer is now functioning again.

Very much appreciation to all involved.

I was at a total loss of what to do.

Thank you all.

Alan

Revision history for this message
Alan Fortune (kiwioil) said :
#16

Hi,

I do not understand?
Now my printer has refused to cooperate once again?

I have I believe done as requested as follows.

alan@alan-Lenovo-ideapad-330-15IKB:~$ su -c 'journalctl -u cups.service --since="2020-07-25 07:50:03" --until="2020-07-25 07:51:30"' > trouble
Password:
su: Authentication failure
alan@alan-Lenovo-ideapad-330-15IKB:~$ abc123
abc123: command not found
alan@alan-Lenovo-ideapad-330-15IKB:~$ printer
printer: command not found
alan@alan-Lenovo-ideapad-330-15IKB:~$ su -c 'journalctl -u cups.service --since="2020-07-25 07:50:03" --until="2020-07-25 07:51:30"' > troubleshoot-logs.txt
Password:
su: Authentication failure
alan@alan-Lenovo-ideapad-330-15IKB:~$

Would appreciate any assistance.

Alan Fortune.

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

As far as I know with Linux Mint you shouldn't use su, but sudo

Revision history for this message
Alan Fortune (kiwioil) said :
#18

Thanks!

On Sat, 25 Jul 2020 at 20:30, Manfred Hampl <
<email address hidden>> wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> Manfred Hampl posted a new comment:
> As far as I know with Linux Mint you shouldn't use su, but sudo
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Alan Fortune (kiwioil) said :
#19

Hi,

Believe it or not.

I disconnected the printer, connected an older printer of similar breed etc.

Started the printer & it installed automatically.

Printed a Test page no problem.

Printed a simple page from the computer & no problems.

Weird but wonderful.

Alan

On Sat, 25 Jul 2020 at 20:30, Manfred Hampl <
<email address hidden>> wrote:

> Your question #691936 on HPLIP changed:
> https://answers.launchpad.net/hplip/+question/691936
>
> Manfred Hampl posted a new comment:
> As far as I know with Linux Mint you shouldn't use su, but sudo
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Launchpad Janitor (janitor) said :
#20

This question was expired because it remained in the 'Open' state without activity for the last 15 days.