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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-15-2021, 07:30 AM
|
#1
|
Senior Member
Registered: Feb 2008
Location: Australia
Distribution: Mint 20.3 MATE, Android, Windows 10, MX Linux and Mint 21.1 MATE
Posts: 1,070
Rep:
|
HP Printer not being started by PC.
In Manjaro KDE I find my HP printer cannot be started by this PC, all plugged in and switched on. I checked the printer notification and made sure it was set up. It has worked on this PC before. The Printer information reads: PRINTER SERVICE UNAVAILABLE, BAD FILE DESCRIPTOR.
Is there a fix for this?
|
|
|
04-15-2021, 04:26 PM
|
#2
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
How did you set up the printer?
What driver is in use? If hplip then what version? If not hplip then why not?
Did you set up the printer using the hplip-gui tools?
What version of Manjaro?
What model printer?
How is the printer connected? Wifi? Ethernet? USB?
If the printer is wifi or ethernet is the IP set to static so it is always assigned the same IP.?
Is the IP assigned by DHCP?
Is cups running?
|
|
1 members found this post helpful.
|
04-15-2021, 08:44 PM
|
#3
|
Member
Registered: Nov 2007
Location: Northeastern USA
Distribution: kubuntu
Posts: 214
Rep: 
|
What computersavvy said. We can't look over your shoulder, so you need to provide all the details.
HP printers generally work great with Linux (probably because HP had (has?) HP-UX their own UNIX/Linux distro and so were motivated to support their devices on it.)
I have had a lot of printer issues. Generally, I make sure hplip is installed and CUPS is running.
Then, I go to localhost:631 in my browser (don't use any Chrome-based browser for this - Firefox works). This is the CUPS web interface. From there, you can tell it to search for and install any printers it detects. This usually does it although there are a bunch of minor settings you may want to configure.
You can also run hp-toolbox (part of hplip) which lets you set things and check ink/toner levels, etc.
You may also want to add your user to the lpadmin group. I don't remember why I needed that, but it helped.
Sometimes CUPS and hplip don't agree on everything, but until your printer is recognized, that won't matter.
Also, take a look at dmesg output when you attach your printer or power it on. Linux should see it and tell you useful information about the connection. There are other tools such as lspci and lsusb which can also help depending on how your printer is connected to your system.
|
|
|
04-16-2021, 11:25 AM
|
#4
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
Just a followup triggered by what @josephj said.
On fedora when hplip is installed it adds the user to the hplip group so that user can manage all the installed HP printers.
|
|
|
04-18-2021, 05:45 AM
|
#5
|
LQ Newbie
Registered: Oct 2018
Location: London, England (or UK)
Distribution: Slackware, Debian & Linux Mint
Posts: 1
Rep: 
|
If this device is connected by networking, either ethernet or wifi, then check whether Manjaro is running a software firewall. This could well be stomping on the IP packets that the printer uses.
Can you see the printers built-in web management page? You should be able to see this by entering the numerical IP address of the printer into a browsers address bar (after the http:\\).
Assuming the above works and you can disconnect from the wider internet then I would disable entirely the built-in firewall. Now check whether CUPS will find the printer. This worked for me with Linux Mint and an ethernet-connected Epson MFD.
From the notes I made at the time and with the firewall disabled:
Quote:
Open a terminal/console and run the commands:
$ ping <IP of the printer>
$ nmap <IP of the printer>
Replace "<IP of the printer>" by the printer's IP address. The first command checks whether
you can access the printer through the network, the second shows which port numbers are used by
the printer and through this which protocols are active (80: Has web interface, 139: SMB,
443: encrypted IPP or encrypted web interface, 515: LPD, 631: IPP, 9100: JetDirect/AppSocket).
The nmap command output was:
Starting Nmap 6.40 ( deleted URL ) at 2017-05-13 02:19 BST
Nmap scan report for 10.0.0.24
Host is up (0.0046s latency).
Not shown: 997 closed ports
PORT STATE SERVICE
80/tcp open http
515/tcp open printer
9100/tcp open jetdirect
MAC Address: 00:00:48:etc (Seiko Epson)
Nmap done: 1 IP address (1 host up) scanned in 2.47 seconds
|
This tells you which ports need to be opened in the firewall. With the firewall running again I used a program called "ufw" (the uncomplicated firewall) thus:
sudo ufw allow 515/tcp
but you should be able to use
iptables -A INPUT -p tcp --dport 515 -j ACCEPT
Hope this helps and good luck.
|
|
|
04-18-2021, 09:42 PM
|
#6
|
LQ Guru
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,764
|
If you are using an HP, I expect you should have HPLIP installed. If you have the HPLIP GUI (hp-toolbox), you could open it and see what it tells you about the printer connection.
You might also check the logs in /var/log/cups/, particularly the error logs; they might provide some useful information.
|
|
1 members found this post helpful.
|
All times are GMT -5. The time now is 03:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|