HP LaserJet M404dn printer not working properly

The printer display shows a red triangle indicating there is an error. I can’t find the specific reason in the manual. I manually click the OK button again & the triangle disappears & I get a print.
Below is the terminal output of the errors.
I have tried the following setups: snap terminal , terminal ‘hp-setup’ & the browser ‘631’ setup

Some help would be appreciated

No Scanner found.


DISCOVERED USB DEVICES

Device URI Model


hp:/usb/HP_LaserJet_Pro_M404-M405?serial=PHC HP LaserJet Pro M404-M405
B204261


INSTALLED CUPS PRINTER QUEUES

HP_LaserJet_Pro_M404-M405

Type: Printer
Device URI: hp:/usb/HP_LaserJet_Pro_M404-M405?serial=PHCB204261
PPD: /etc/cups/ppd/HP_LaserJet_Pro_M404-M405.ppd
warning: Failed to read /etc/cups/ppd/HP_LaserJet_Pro_M404-M405.ppd ppd file
PPD Description:
Printer status: printer HP_LaserJet_Pro_M404-M405 is idle. enabled since Thu 22 Sep 2022 13:30:52
Communication status: Good


PERMISSION

USB HP_LaserJet_Pro_M404-M405 Required - - OK Node:‘/dev/bus/usb/003/007’ Perm:’ root lp rw- rw- rw- rw- rw- r–’


SUMMARY

Missing Required Dependencies

error: ‘make’ package is missing/incompatible

Missing Optional Dependencies

error: ‘xsane’ package is missing/incompatible

Total Errors: 5
Total Warnings: 0

Done.
   ~ 

Hi,

after three or more trials, this looks like a mess. Go back to start, undo what you have done, then open thunar, click “show hidden files”, delete the .hplip configuration folder, don’t forget to get rid of that snap package.
…now, please read:

…in addition to the official help, here is my setup routine:

1.) disable firewall, you can set rules later.

2.) install manjaro-printer, for scanning simple-scan (my preference) or xsane.

sudo pacman -Syu manjaro-printer simple-scan

3.) add yourself to the sys group:

sudo gpasswd -a yourusername sys

4.) enable cups from terminal:

sudo systemctl enable --now cups.service
sudo systemctl enable --now cups.socket
sudo systemctl enable --now cups.path

…now also from terminal:

hp-setup -u

(no sudo!! …you will be prompted to give permission when needed, that mistake f#!ks up most setups.)

…when terminal says “done”, close terminal, open HP Device Manager from menu
and set up your preferences (Action, Staus, Supplies, Print Settings, Printer Control).

5.) If you need a plugin, be careful when using AUR-plugin. It is not always in sync with manjaro stable,
Watch out for matching version! Instead, when testing scanning/printing hp-setup will ask you to install the plugin.
Prefer the option to get the plugin directly from HP, whether loaded automatically or manually .

Tip:

2 Likes