-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Archived Topics
- Unanswered Topics - Printers
- Scan fails on Ubuntu 20.04 LTS

Create an account on the HP Community to personalize your profile and ask a question

07-04-2020 09:51 AM
Dear community,
I have HP LaserJet Pro MFP M132nw, which is connected to my PC using wired Ethernet. IP address is fixed, it is provided via DHCP by my router based on MAC address of MFP.
I'm a Linux user and have an issue with scan feature of the MFP. MFP worked fine with Ubuntu 18.04 LTS. But built-in scanner application failed to work with my MFP after fresh install of Ubuntu 20.04 LTS. So, I found another tool to scan my documents - HPWifiScan application (https://github.com/petrj/HPWifiScan).
HPWifiScan uses eSCL and worked more or less fine. I found a bug, which makes MFP firmware sometimes return a bad URI to a scanned document (URI contains no IP address). I managed to change HPWifiScan sources to workaround this issue. I can provide details if somebody is interested. Then, I tried to improve XML requests in HPWifiScan. But eSCL is not documented by HP, so I had to try different changes and check the results. I guess that made MFC firmware crazy. It responds '400 (Bad Request)' to any eSCL request since then.
I tried to install Windows 7 under a virtual machine. And scan feature works if I use standard HP scanning utility for Windows. Then, I tried to use 'hp-scan' utility for Linux (a part of hplip). It detects two URI for MFC, but both fails:
Num Scan device URI
-------- ----------------------------------------------------------------
0* escl:http://192.168.1.45:8080
1 hpaio:/net/hp_laserjet_mfp_m129-m134?ip=192.168.1.45&queue=false
Error message for eSCL:
Using device escl:http://192.168.1.45:8080
Opening connection to device...
Capability : [image/jpeg]
Capability : [image/jpeg]
error: Failed to get the source from device.
Error message for hpaio:
Using device hpaio:/net/hp_laserjet_mfp_m129-m134?ip=192.168.1.45&queue=false
Opening connection to device...
error: SANE: Error during device I/O (code=9)
I tried to reset my MFC to factory defaults using MFC web page -> System -> Save and Restore -> Restore defaults. But eSCL is still broken.
Then, I successfully upgraded MFC firmware to 'HP_LaserJet_Pro_MFP_M130_M132_Ultra_MFP_M134_Printer_20200605.exe', but eSCL is still does not work the same way.
Thus, print feature of my MFC works fine both in Linux and Windows. But scan feature works in Windows only, and it does not work in Linux at all.
If somebody has any ideas, please share them:
1) How can I reset the firmware of my MFC to factory state really?
2) How can I make scan feature of my MFC to work in Linux in any way?
Best regards,
Dimitry
