Nakon updatea na Ubuntu 22.04.1 LTS printer HP LaserJet M1120 MPF je jednostavno prestao printati pa ako se netko nađe u sličnom problemu evo kratki how to.
HP LIP skinete sa HP sitea
https://developers.hp.com/hp-linux-i...nting/gethplip
Nakon pokretanja instalacije (./hplip-3.20.5.run) trebate odabrati želite li automatsku ili custom instalaciju. U slučaju automatske instalacije očekujte ovake ili slične warninge.
Following dependencies are not installed. HPLIP will not work if all REQUIRED dependencies are not installed and some of the HPLIP features will not work if OPTIONAL dependencies are not installed.
Package-Name Component Required/Optional
pyqt5-dbus gui_qt5 OPTIONAL
pil scan OPTIONAL
python-dbus fax REQUIRED
reportlab fax OPTIONAL
pyqt5 gui_qt5 REQUIRED
python-notify gui_qt5 OPTIONAL
Za svaki od paketa dobiti ćete ovakav error:
error: Command failed. Re-try #3...
Running 'sudo apt-get install --assume-yes python-notify'
Please wait, this may take several minutes...
error: Package install command failed with error code 100
Pa krenimo redom kako onda osposobiti printer i skener.
1. Pokretene instalaciju ./hplip-3.20.6.run
2. Please choose the installation mode (a=automatic*, c=custom, q=quit) : c
3. Is "Ubuntu 20.04" your correct distro/OS and version (y=yes*, n=no, q=quit) ? y
4. Would you like to install Custom Discrete Drivers or Class Drivers ( 'd'= Discrete Drivers*,'c'= Class Drivers,'q'= Quit)? : d
5. Do you wish to enable 'Network/JetDirect I/O' (y=yes*, n=no, q=quit) ? n
6. Do you wish to enable 'Graphical User Interfaces (Qt5)' (y=yes*, n=no, q=quit) ? n
7. Do you wish to enable 'PC Send Fax support' (y=yes*, n=no, q=quit) ? n
8. Do you wish to enable 'Scanning support' (y=yes*, n=no, q=quit) ? y
9. Do you wish to enable 'HPLIP documentation (HTML)' (y=yes*, n=no, q=quit) ?
Možda dobijete još koju liniju vezanu za dependencypackage ali samo zanemarite
Skeniranje radi unatoč warrningu da možda nešto neće.
