Leap 15.0 - HP Laserjet M1132 MFP not working - confused

Hi,

I am not sure what I have done, but I can’t get my printer to work.

My printer was working before I reinstalled Leap 15.0. I went to the HPLIP website and installed HPLIP 3.16.3. My printer is set up, but not printing, ‘the HP device manager’ is showing.
I have also tried

hp-setup

which went through ok, but still no printing.

I then went to Yast and installed HPLIP 3.18.6, however it is not showing in the ‘application menu’.

I would like to show you screenshots, but I don’t know how to do it as ‘insert image’ asks for a URL.

Please let me know what information you require to help me sort this out. Thank you very much.

Go to YaSt Printers and check that the printer is shown there.

Prt Scr should bring up Spectacle to generate a screenshot of what you see.

That’s because it expects you to point it at an online location hosting the images. One possibility is using https://paste.opensuse.org/

Can you show us what is reported by

lpstat -t
egrep -i "name|model|filter" /etc/cups/ppd/*

https://paste.opensuse.org/50741258

https://paste.opensuse.org/32661903

https://paste.opensuse.org/50958818

Thank you. The printer is there (twice) neither produced a printout.

@linux-1xgj:~> lpstat -t
scheduler is running
no system default destination
device for HP_LaserJet_Professional_M1132_MFP: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH4RWPZPR1a
device for HP_LaserJet_Professional_M1132_MFP_2: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000QH4RWPZPR1a
HP_LaserJet_Professional_M1132_MFP accepting requests since Tue 15 Oct 2019 21:39:10 BST
HP_LaserJet_Professional_M1132_MFP_2 accepting requests since Tue 15 Oct 2019 21:41:05 BST
printer HP_LaserJet_Professional_M1132_MFP is idle.  enabled since Tue 15 Oct 2019 21:39:10 BST
        File "/usr/lib/cups/filter/foomatic-rip-hplip" not available: No such file or directory
printer HP_LaserJet_Professional_M1132_MFP_2 is idle.  enabled since Tue 15 Oct 2019 21:41:05 BST
        File "/usr/lib/cups/filter/foomatic-rip-hplip" not available: No such file or directory


@linux-1xgj:~> egrep -i "name|model|filter" /etc/cups/ppd/*
grep: /etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd: Permission denied
grep: /etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd: Permission denied


Execute it with admin privileges…

sudo egrep -i "name|model|filter" /etc/cups/ppd/*

This is a problem…

printer HP_LaserJet_Professional_M1132_MFP is idle.  enabled since Tue 15 Oct 2019 21:39:10 BST
        File "/usr/lib/cups/filter/foomatic-rip-hplip" not available: No such file or directory

Can you report back with output from

zypper se -si hplip

This old old openSUSE bug report seems to match the symptoms you describe, and in particular I note that the ppd file you have in /etc/cups/ppd likely contains a cups filter entry ‘foomatic-rip-hplip’ instead of ‘foomatic-rip’…

Instead of re-creating the whole print queue setup
it should also work to exchange in the existing old PPD
in /etc/cups/ppd/quque.pdd

*cupsFilter: " … foomatic-rip-hplip"

with

*cupsFilter: " … foomatic-rip"

i.e. replace “foomatic-rip-hplip” by “foomatic-rip”
which is what I did in the PPDs in the hplip RPMs
since “Fri Aug 12 10:36:13 CEST 2011” see above.

This probably wouldn’t have happened if you’d hadn’t tried installing HPLIP from the website instead of just using an openSUSE package to begin with. You can make the necessary edit (as explained above), or just delete the printer configuration and start over.

This old old openSUSE bug report seems to match the symptoms you describe, and from this I’m speculating that the ppd file you have in /etc/cups/ppd likely contains a cups filter entry ‘foomatic-rip-hplip’ instead of the correct filter reference ‘foomatic-rip’…

Instead of re-creating the whole print queue setup
it should also work to exchange in the existing old PPD
in /etc/cups/ppd/quque.pdd

*cupsFilter: " … foomatic-rip-hplip"

with

*cupsFilter: " … foomatic-rip"

i.e. replace “foomatic-rip-hplip” by “foomatic-rip”
which is what I did in the PPDs in the hplip RPMs
since “Fri Aug 12 10:36:13 CEST 2011” see above.

This probably wouldn’t have happened if you’d hadn’t tried installing HPLIP from the website first instead of just using an openSUSE package to begin with. Anyway, if you’re comfortable with doing so, you can make the necessary edit (as explained above), or just delete the existing printer configuration and start over.

[sudo] password for root: 
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*PCFileName: "hp-laserjet_professional_m1132_mfp-hpijs.ppd"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*ModelName: "HP LaserJet Professional m1132 MFP hpijs"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*ShortNickName: "HP LJ Pro m1132 MFP hpijs"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*NickName: "HP LaserJet Professional m1132 MFP hpijs, 3.16.3, requires proprietary plugin"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*FoomaticRIPOption Model: "enum CmdLine A 100"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*FoomaticRIPOptionSetting Model=HP-LaserJet_1018: " -sDeviceManufactur&&
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:er="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet 1018""
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*cupsModelNumber: 0
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd:*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*PCFileName: "hp-laserjet_professional_m1132_mfp-hpijs.ppd"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*ModelName: "HP LaserJet Professional m1132 MFP hpijs"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*ShortNickName: "HP LJ Pro m1132 MFP hpijs"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*NickName: "HP LaserJet Professional m1132 MFP hpijs, 3.16.3, requires proprietary plugin"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*FoomaticRIPOption Model: "enum CmdLine A 100"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*FoomaticRIPOptionSetting Model=HP-LaserJet_1018: " -sDeviceManufactur&&
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:er="HEWLETT-PACKARD" -sDeviceModel="HP LaserJet 1018""
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*cupsModelNumber: 0
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
/etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP.ppd:*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"


Hope that’s right.

I have removed the Yast version 3.18.6, I don’t know how to find the online one 3.16.3 to delete it.

Yes that’s right. Try editing (as root) /etc/cups/ppd/HP_LaserJet_Professional_M1132_MFP_2.ppd and change the *cupsFilter entries


*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip-hplip"
*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip-hplip"

so that they look like this instead…


*cupsFilter: "application/vnd.cups-postscript 100 foomatic-rip"
*cupsFilter: "application/vnd.cups-pdf 0 foomatic-rip"

With luck that should be all that is required.

Back again.
The above did not work. When I tried to take a screenshot, it was blank, so I took a photograph on my mobile phone and waited to hear from everyone. However when I checked this thread my post was not there. Whilst waiting my disk with Leap 15.1 had arrived. So I thought if I install that hopefully it will work. I kept my /home directory and just installed to my root partition. Unfortunately, the printer is not working, it says it is busy. I am going to start another thread as it is now Leap 15.1. Thank you for your help so far.

Best to continue in that new thread then. Include the output from commands given in post #4 of this thread so that you have something definitive to start with.