LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-21-2021, 02:12 PM   #1
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Rep: Reputation: 20
HP printer not working on Ubuntu 20.04


I have never been able to comprehend the process of setting up a printer with Ubuntu. Then 16.04 came along and I never had trouble. The printer was set up automatically with just a couple mouse clicks. Now comes Ubuntu 20.04 and I have complete failure again. My printer is a HP Deskjet 3830.
Why was the process of printer detection and setup downgraded from its past position of excellence? How can I deal with this? I have no idea what the words CUPS and HPLIP mean except that they are software packages. I don't know if they work together or if the depend on each other. I have no idea what was used on 16.04 or what has changed since then.

Here is my current situation...

Here is exactly what I am able to do now.

Open a text document. Click 'print'. Error message says'could not start printer. Check printer configuration. I open printer dialog box and there is no printer. I click 'add printer'. It searches for printer and then says 'CUPS BRF PRINTER. I click 'ADD'. It says 'CUPS BRF PRINTER READY model Generic Text Only Printer'. I go back to my document and click 'print' and it says 'Could not start printer. Check your configuration'. I go back to the printer dialog box and click 'additional printer settings'. It shows 'CUPS BRF PRINTER'. I have no idea what to do after that.
 
Old 04-21-2021, 03:22 PM   #2
Bonzoo
Member
 
Registered: Sep 2018
Location: Costa Rica
Distribution: Antix21a2,Parrot rolling,MXfce19.4,Sparky Openbox
Posts: 233

Rep: Reputation: 48
sudo apt install hplip hplip-gui
 
Old 04-21-2021, 03:41 PM   #3
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
I tried hplip-gui. I didn't know where to find the ip address. The closest thing I could find is cups-brf:/ which I do not think is correct. Anyway, it said I had it set up and it was ready but when I tried to print it just sat there. I suspect that the ip address is the problem.
 
Old 04-21-2021, 04:33 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,812

Rep: Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334
How is your printer connected to your PC/network, Wired, wireless, USB or maybe wireless direct?

The min supported hplip version for your printer is 3.15.7 and the default version installed in 20.04 is 3.20.3.

cups is the printing system for linux. It is a print spooler and backend system that basically translates something to be printed into something recognized by the printer. hplip consists of a number of tools to make printing and scanning to HP printers easier. hp-setup should be able to automatically install your printer and setup cups. Scanning requires sane to be installed.
 
Old 04-21-2021, 04:44 PM   #5
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
sane-utils was installed but sane was not. I installed it.
Useing hp-toolbox I did setup as USB. It found my printer by name. But then it said 'unable to communicate with device. check device and try again'. Printer is plugged in and turned on. Screen is dark as if it is not being called on. What else can I check?
Thanks for being there.
 
Old 04-21-2021, 05:10 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,812

Rep: Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334
Did you try running hp-setup?

A USB device does not have an IP address.
 
Old 04-21-2021, 05:16 PM   #7
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
Yes, hp-setup in hp-toolbox is what I used.
 
Old 04-21-2021, 05:20 PM   #8
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
I also checked the hplip website and my printer IS supported.
 
Old 04-21-2021, 05:37 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,812

Rep: Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334
I assume your printer shows up in the output of the lsusb command?

I prefer a network connection versus USB...

I assume your printer URI is something like usb://HP/. The easiest way to check is via cups web interface i.e. localhost:631/printers and click on the printer's queue name.
 
Old 04-21-2021, 05:52 PM   #10
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
Yes it does.

Code:
$ lsusb
Bus 002 Device 003: ID 046d:c517 Logitech, Inc. LX710 Cordless Desktop Laser
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 002: ID 03f0:e511 HP, Inc OfficeJet 3830 series
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
I do not have a router. USB is my only option.
 
Old 04-21-2021, 06:04 PM   #11
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
I ran sudo hp-check -r. According to ubuntu.com This will summarize any installation errors.
This prints a ton of information. Near the top is says...
Code:
 HPLIP-Version: HPLIP 3.20.3
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for ubuntu distro  20.04 version
At the bottom it says
Code:
 Total Errors: 17
Total Warnings: 2
I will post the whole thing if you think it will help.
 
Old 04-21-2021, 06:08 PM   #12
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,812

Rep: Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334
Not at the moment. Will have to do some google searching...
 
Old 04-21-2021, 06:48 PM   #13
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
I found info on line at https://askubuntu.com/questions/1233...g-ubuntu-20-04. Suggested I run sudo hp-setup -i. It appears at this point that my printer works.

P.S.
My printer dialog box shows an '!' on the printer. When I print a page it spits out an empty sheet first and then the next sheet starts half way down the web page.
 
Old 04-21-2021, 07:42 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,812

Rep: Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334Reputation: 6334
Looks like there are a few bugs with python that messes up hplip with the current installed version.
https://bugs.launchpad.net/hplip/+bug/1878974

I don't have a HP printer but I installed the newest version from HPLIP and no errors.

https://developers.hp.com/hp-linux-i...nting/gethplip

https://askubuntu.com/questions/1233...requires-pyqt4
 
Old 04-22-2021, 12:15 AM   #15
sofasurfer
Member
 
Registered: Oct 2003
Posts: 253

Original Poster
Rep: Reputation: 20
My printer now APPEARS to be functioning properly after running sudo hp-setup -i. I did read that it is required to have the newest hplip package but that hplip also depends on the newest python which apparently does not support ubuntu 20.04.
I'm done. Thanks.

Last edited by sofasurfer; 04-22-2021 at 12:17 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] My HP 2600 printer stopped printing and their isn't a printer model now in the settings? the error message says the printer is paused? sudo1 Linux - Server 6 04-02-2019 06:14 AM
SUSE smbspool working but CUPS smb printer not working (SOLVED) Kingsgate SUSE / openSUSE 0 08-26-2015 01:45 AM
samba printer stops working until printer reinstall mphill Linux - Hardware 2 01-31-2008 03:55 AM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 02:56 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration