Printer Laserjet Pro M203dw doesn't work anymore
David26 I don't have hp-plugin in applications manager when I search for it.
Install hplip
.
Commands to use:
hp-align hp-diagnose_plugin hp-info hp-pkservice hp-query hp-timedate hp-wificonfig
hp-check hp-diagnose_queues hp-levels hp-plugin hp-scan hp-toolbox
hp-clean hp-doctor hp-linefeedcal hp-pqdiag hp-sendfax hp-uiscan
hp-colorcal hp-fab hp-logcapture hp-print hp-setup hp-uninstall
hp-config_usb_printer hp-faxsetup hp-makecopies hp-printsettings hp-systray hp-unload
hp-devicesettings hp-firmware hp-makeuri hp-probe hp-testpage hp-upgrade
- Edited
pomon
ok
It's a printer program instead of CUPS?
in terminal:
`hp-print
HP Linux Imaging and Printing System (ver. 3.23.12)
Print Utility ver. 4.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
error: No device found that support this feature.
`
After, I find command "hp-plugin" and use it in terminal
It install the hp plugin fine, then I use "hp-setup"
I choose network printers, but:
"HPLIP cannot detect printers in your network.
This may be due to existing firewall settings blocking the required ports. When you are in a trusted network environment, you may open the ports for network services like mdns and slp in the firewall. For detailed steps follow the link. https://developers.hp.com/hp-linux-imaging-and-printing/KnowledgeBase/Troubleshooting/TroubleshootNetwork_"
I don't understant what it means and what to do.
(I have Proton VPN in use, but no special firewall)
[deleted]
Install your printer first with hp-install
- Edited
[deleted]
terminal said: order not found
Then command is "hp-setup" isn'it? I tried that, see my last post.
I tried "hp-doctor", it said:
`/usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if 'getfacl' not in g and '' is not g and 'file' not in g:
HP Linux Imaging and Printing System (ver. 3.23.12)
Self Diagnse Utility and Healing Utility ver. 1.0
Checking for Deprecated items....
error: This distro (i.e unknown 4.5) is either deprecated or not yet supported.
The diagnosis is limited on unsupported platforms. Do you want to continue?(y=yes*, n=no):y
Checking for HPLIP updates....
HP Linux Imaging and Printing System (ver. 3.23.12)
HPLIP upgrade latest version ver. 1.0
Copyright (c) 2001-18 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.
error: HPLIP upgrade is disabled by Solus for security reasons. New versions are distributed via the Software Center
Done.
error: Failed to upgrade latest HPLIP. Is hp-upgrade already running (i.e. foreground or background)?
Checking for Dependencies....
warning: 0-4.5 version is not supported. Using 0-0 versions dependencies to verify and install...
---------------
| SYSTEM INFO |
---------------
Kernel: 6.8.7-287.current #1 SMP PREEMPT_DYNAMIC 0 GNU/Linux
Host: solushere
Proc: 6.8.7-287.current #1 SMP PREEMPT_DYNAMIC 0 GNU/Linux
Distribution: 0 4.5
Bitness: 64 bit
-----------------------
| HPLIP CONFIGURATION |
-----------------------
HPLIP-Version: HPLIP 3.23.12
HPLIP-Home: /usr/share/hplip
warning: HPLIP-Installation: Auto installation is not supported for 0 distro 4.5 version
Current contents of '/etc/hp/hplip.conf' file:
# hplip.conf. Generated from hplip.conf.in by configure.
[hplip]
version=3.23.12
[dirs]
home=/usr/share/hplip
run=/var/run
ppd=/usr/share/ppd/HP
ppdbase=/usr/share/ppd
doc=/usr/share/doc/hplip-3.23.12
html=/usr/share/doc/hplip-3.23.12
icon=/usr/share/applications
cupsbackend=/usr/lib/cups/backend
cupsfilter=/usr/lib/cups/filter
drv=/usr/share/cups/drv/hp
bin=/usr/bin
apparmor=/etc/apparmor.d
# Following values are determined at configure time and cannot be changed.
[configure]
network-build=yes
libusb01-build=no
pp-build=yes
gui-build=yes
scanner-build=yes
fax-build=yes
dbus-build=yes
cups11-build=no
doc-build=yes
shadow-build=no
hpijs-install=yes
foomatic-drv-install=yes
foomatic-ppd-install=yes
foomatic-rip-hplip-install=no
hpcups-install=yes
cups-drv-install=yes
cups-ppd-install=yes
internal-tag=3.23.12
restricted-build=no
ui-toolkit=qt5
qt3=no
qt4=no
qt5=yes
policy-kit=no
lite-build=no
udev_sysfs_rules=no
hpcups-only-build=no
hpijs-only-build=no
apparmor_build=no
class-driver=no
Current contents of '/var/lib/hp/hplip.state' file:
[plugin]
installed = 1
eula = 1
version = 3.23.12
Current contents of '~/.hplip/hplip.conf' file:
[installation]
date_time = 04/28/24 22:03:12
version = 3.23.12
<Package-name> <Package-Desc> <Required/Optional> <Min-Version> <Installed-Version> <Status> <Comment>
-------------------------
| External Dependencies |
-------------------------
error: cups CUPS - Common Unix Printing System REQUIRED 1.1 - INCOMPAT 'CUPS may not be installed or not running'
gs GhostScript - PostScript and PDF language interpreter and previewer REQUIRED 7.05 9.53.3 OK -
error: xsane xsane - Graphical scanner frontend for SANE OPTIONAL 0.9 - MISSING 'xsane needs to be installed'
scanimage scanimage - Shell scanning program OPTIONAL 1.0 1.2.1 OK -
error: dbus DBus - Message bus system REQUIRED - 1.14.10 MISSING 'DBUS may not be installed or not running'
policykit PolicyKit - Administrative policy framework OPTIONAL - 124 OK -
network network -wget OPTIONAL - 1.24.5 OK -
avahi-utils avahi-utils OPTIONAL - 0.8 OK -
------------------------
| General Dependencies |
------------------------
error: libjpeg libjpeg - JPEG library REQUIRED - - MISSING 'libjpeg needs to be installed'
error: cups-devel CUPS devel- Common Unix Printing System development files REQUIRED - - MISSING 'cups-devel needs to be installed'
error: cups-image CUPS image - CUPS image development files REQUIRED - - MISSING 'cups-image needs to be installed'
error: libpthread libpthread - POSIX threads library REQUIRED - b'2.39' MISSING 'libpthread needs to be installed'
error: libusb libusb - USB library REQUIRED - 1.0 MISSING 'libusb needs to be installed'
sane SANE - Scanning library REQUIRED - 1.2.1 OK -
error: sane-devel SANE - Scanning library development files REQUIRED - 1.2.1 MISSING 'sane-devel needs to be installed'
error: libavahi-dev libavahi-dev REQUIRED - - MISSING 'libavahi-dev needs to be installed'
error: libnetsnmp-devel libnetsnmp-devel - SNMP networking library development files REQUIRED 5.0.9 5.8 MISSING 'libnetsnmp-devel needs to be installed'
error: libcrypto libcrypto - OpenSSL cryptographic library REQUIRED - 3.2.1 MISSING 'libcrypto needs to be installed'
python3X Python 2.2 or greater - Python programming language REQUIRED 2.2 3.11.9 OK -
python3-notify2 Python libnotify - Python bindings for the libnotify Desktop notifications OPTIONAL - - OK -
error: python3-pyqt4-dbus PyQt 4 DBus - DBus Support for PyQt4 OPTIONAL 4.0 - MISSING 'python3-pyqt4-dbus needs to be installed'
error: python3-pyqt4 PyQt 4- Qt interface for Python (for Qt version 4.x) REQUIRED 4.0 - MISSING 'python3-pyqt4 needs to be installed'
python3-dbus Python DBus - Python bindings for DBus REQUIRED 0.80.0 1.2.18 OK -
python3-xml Python XML libraries REQUIRED - 2.6.2 OK -
error: python3-devel Python devel - Python development files REQUIRED 2.2 3.11.9 MISSING 'python3-devel needs to be installed'
python3-pil PIL - Python Imaging Library (required for commandline scanning with hp-scan) OPTIONAL - 10.2.0 OK -
python3-reportlab Reportlab - PDF library for Python OPTIONAL 2.0 4.0.7 OK -
--------------
| COMPILEDEP |
--------------
error: libtool libtool - Library building support services REQUIRED - - MISSING 'libtool needs to be installed'
error: gcc gcc - GNU Project C and C++ Compiler REQUIRED - - MISSING 'gcc needs to be installed'
error: make make - GNU make utility to maintain groups of programs REQUIRED 3.0 - MISSING 'make needs to be installed'
---------------------
| Python Extentions |
---------------------
cupsext CUPS-Extension REQUIRED - 3.23.12 OK -
hpmudext IO-Extension REQUIRED - 3.23.12 OK -
----------------------
| Scan Configuration |
----------------------
hpaio HPLIP-SANE-Backend REQUIRED - 3.23.12 OK 'hpaio found in /etc/sane.d/dll.conf'
scanext Scan-SANE-Extension REQUIRED - 3.23.12 OK -
------------------------------
| DISCOVERED SCANNER DEVICES |
------------------------------
No Scanner found.
--------------------------
| DISCOVERED USB DEVICES |
-------------------------
No devices found.
---------------------------------
| INSTALLED CUPS PRINTER QUEUES |
---------------------------------
Type: Unknown
Device URI: cups-brf:/
Type: Unknown
Device URI: implicitclass://HP_LaserJet_M203dw_3AC5C8/
Type: Unknown
Device URI: implicitclass://HP_LaserJet_M203dw_3AC5C8%40NPI3AC5C8.local/
Type: Unknown
Device URI: ///dev/null
--------------
| PERMISSION |
--------------
Checking Permissions....
Checking for Configured Queues....
warning: Fail to read ppd=/etc/cups/ppd/CUPS-BRF-Printer.ppd file
warning: Insufficient permission to access file /etc/cups/ppd/CUPS-BRF-Printer.ppd
warning: Could not complete Queue(s) configuration check
Checking for HP Properitery Plugin's....
No plug-in printers are configured.
Diagnose completed...
`
David26
Please put triple backticks before and after terminal output. I have edited your post to have them.
I maintain the hplip software for Solus. It's not necessary to use its specific commands to install printers. You can install hplip and then remove or add printers in the system settings. The only thing it's sometimes necessary to do with the hplip commands specifically is run hp-plugin
, which you've already done.
From the screenshot in your original post, it looks like the printer is stopped, possibly due to an error, and that there are jobs in the queue. The text says to restart the printer after resolving the problem (whatever it thinks the problem is).
What I suggest you try now is:
1 - Remove all instances of the HP printer (I see 2 in the screenshot) and the CUPS-BRF-Printer. If you don't have a MFC-5860CN, remove that too.
2 - Re-add the printer through the normal system printer settings
3 - Make sure there are no jobs in the queue and no errors shown
4 - Try to print a test page
If you see errors again you might try restarting this service:
systemctl restart cups-browsed.service
As a side note, we are working on updating CUPS, hopefully that will help with weird errors like this.
I also found this upstream bug that looks related, just including it for information's sake
Let us know what happens.
Glad to hear it's working again.
- Edited
Today, sorry but after restart computer, print doesn't work, like before...
I tried again suppress all lazerjet printers, but no change with the new one.
message when I launch a print: "impossible to start printer, check configuration"
in error logs, I see:
W [29/Apr/2024:12:50:35 +0200] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id \'HP_LaserJet_M203dw_3AC5C8@NPI3AC5C8.local-DeviceN..\' already exists
E [29/Apr/2024:12:50:55 +0200] HP_LaserJet_M203dw_3AC5C8_: Unable to connect to NPI3AC5C8.local:631: The encryption algorithm is not supported.
E [29/Apr/2024:12:57:32 +0200] [CGI] File \"/usr/lib/cups/backend/hpfax\" has insecure permissions (0100700/uid=1001/gid=1001).
E [29/Apr/2024:13:37:59 +0200] HP_LaserJet_M203dw_3AC5C8_: Unable to connect to NPI3AC5C8.local:631: The encryption algorithm is not supported.
Please put three backticks ````` before and after your terminal output (like the error log output).
What desktop environment is this, Budgie or one of the others?
From what you've described, it seems like CUPS auto-added the printer when it was first discovered, then tried to auto-add it again, and failed (since it was already set up).
Have you tried re-enabling the printer through the CUPS web interface (not the system settings)? That might work. It would be in printer administration.
This week, an updated version of CUPS is being tested in unstable. As mentioned, the current version is very old. If all goes well, the updated version will be synced to stable in the next sync (usually Friday). That may help with some of these printing bugs.
TraceyC
ok, sorry for th backticks
Your option works! thanks :-)
I suppress again the hp printers in Solus control panel (it's Budgie)
and after search and create the HP printer via Cups interface.
And it's ok now to print a pdf.
Before the update of CUPS, I'll maybe have to do this operation after each restart of the computer?
Maybe his printer ip changed for some reason so its trying to set up another printer with new
ip causing conflict.
Dunno just thinking.
- Edited
Hi,
Today, printer works after restart computer.
The printer HP I created yesterday with Cups interface is still there and is working :-)
I must precise something.
I've noticed that when I recreate the printer, in its properties, in the "Comportements" (Behaviors) section, the default error policy is "Arrêter l'imprimante" (Stop printer).
However, when an incident occurs on the printer, it puts it in a state "Pause" and the printing does not occur, it puts itself in queue (idem for the following prints) and I didn't find how to unlock it.
So I changed the error policy to "Abandonner la tâche" (Abort job) and that solved my problem of print blocking on my printer (HP Officejet 2622).
Should I have done things differently?
It's still working.
But, for information, I see that I have "lost" the possibility to print double-sided. (not available)
Two answer both of your latest questions:
It's fine to set the default error policy to "Abandonner la tâche". It saves you the step of having to remove / restart print jobs, and it's working well for you.
The printer not being able to print doubled sided is a problem. It means the driver currently being used for your driver does not fully support it, or something is turned off. Here are some things you can check.
HP Device Manager settings:
(If you get error 5012, ignore this, it's a bug in the software)- Open HP Device Manager from the application menu, click on the icon for your printer
- Go to the Print Settings tab, and under that click the General tab. Do you see the Two-Sided option there?
Printer Settings:
- In Printer Settings, right click the printer and go to Properties.
- On the Installable Options view, do you see Duplex Unit? If so, is it checked? If not, check it there and click OK
- Best Answerset by TraceyC
TraceyC
I see the upgrade of HPLIP and CUPS last Friday.
So I suppress all the HP printers I had.
I tried to insall it with HP device manager, but it don't find any printer. No printers are listed inside.
So I install it with Cups manager on http://localhost:631/
I choose the cups driver, and it's done
And now I can see in the two-sided option in options for print.
Via Cups manager, I have installer too another printer "version", with Post script driver, it seems ok too.
With Solus printer manager, it install printer too, it seems ok too.
So I have 5 versions now, with 4 who seems to be ok.
I don't know which is the better one...
I will try in use.
Thank you
David26 Many printers are compatible with several different drivers. If a given driver works and supports the the features you need from the printer then it's good enough, no need to try to figure out which is the "best" driver.
ReillyBrogan
Yes, that's true.
HP device manager (hplip) doesn't recognize printer HP, so I can desinstall HPLIP now with no risk?