Linux Mint Forums
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
HP Laserjet P1102w
Post by mint-A-fari » Sun Jul 14, 2019 1:33 pm
i somehow messed up the printer installation on mint 18.3 cinnamon.
The initial problem was, that the printer was no longer recognized after installation of the latest run script. No matter what i did, the hp-setup gui was not able to discover my printer. But the printer has been working on this system before. The local User is member of the group lpadmin. The printer is available over network, does answer on ping and its webserver works fine, it does print from iOS — even though discovery via bonjour failed from hp-setup, I have installed the proprietary plugin and installed the printer on CUPS, but was not able to print that way too.
What ever i have tried, it seemed to make things even worse. Now i’m not even able to start hp-setup anymore.
Traceback (most recent call last):
File «/usr/bin/hp-setup», line 45, in
from base import device, utils, tui, models, module, services, os_utils
File «/usr/share/hplip/base/device.py», line 41, in
from . import status
File «/usr/share/hplip/base/status.py», line 49, in
import hpmudext
ImportError: /usr/lib/python3/dist-packages/hpmudext.cpython-35m-x86_64-linux-gnu.so: undefined symbol: hpmud_make_par_uri
Error in sys.excepthook:
Traceback (most recent call last):
File «/usr/lib/python3/dist-packages/apport_python_hook.py», line 145, in apport_excepthook
os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), ‘wb’) as f:
PermissionError: [Errno 13] Permission denied: ‘/var/crash/_usr_share_hplip_setup.py.0.crash’
Original exception was:
Traceback (most recent call last):
File «/usr/bin/hp-setup», line 45, in
from base import device, utils, tui, models, module, services, os_utils
File «/usr/share/hplip/base/device.py», line 41, in
from . import status
File «/usr/share/hplip/base/status.py», line 49, in
import hpmudext
ImportError: /usr/lib/python3/dist-packages/hpmudext.cpython-35m-x86_64-linux-gnu.so: undefined symbol: hpmud_make_par_uri
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
brian_p Level 9
Posts: 2650 Joined: Thu Jan 17, 2019 9:20 am Location: UK
Re: HP Laserjet P1102w
Post by brian_p » Sun Jul 14, 2019 2:50 pm
mint-A-fari wrote: ⤴ Sun Jul 14, 2019 1:33 pm Hi,
i somehow messed up the printer installation on mint 18.3 cinnamon.
The initial problem was, that the printer was no longer recognized after installation of the latest run script. No matter what i did, the hp-setup gui was not able to discover my printer. But the printer .
«latest run script»? Is that something HP provides? What is wrong with the hplip packages Mint provides?
Re: HP Laserjet P1102w
Post by mint-A-fari » Sun Jul 14, 2019 9:40 pm
maybe i should mention that i’m not a linux native. Just been watching the penguin play in the neighbours garden for years and decided to leave redmond just 2 years ago. So please be indulgent with me.
i have been using this printer after initial installation of the OS without any trouble. Then i did not use it for quite a while. When i tried to, it didn’t work. So i followed different threads on different forums, where people had quite similar problems. In some forum i read, that if an hp printer is not working, although the hplip package included in the distrbution is installed (which it was), it might be helpful to download the latest .run Script from https://sourceforge.net/projects/hplip/ . t/download which is actually provided by HP. In the W***ows-World it’s in most cases a good thing to have software from the products manufacturer, if you want to use peripheral devices. So i thought it might be helpful.
brian_p Level 9
Posts: 2650 Joined: Thu Jan 17, 2019 9:20 am Location: UK
Re: HP Laserjet P1102w
Post by brian_p » Mon Jul 15, 2019 8:04 am
mint-A-fari wrote: ⤴ Sun Jul 14, 2019 9:40 pm
i have been using this printer after initial installation of the OS without any trouble. Then i did not use it for quite a while. When i tried to, it didn’t work. So i followed different threads on different forums, where people had quite similar problems. In some forum i read, that if an hp printer is not working, although the hplip package included in the distrbution is installed (which it was), it might be helpful to download the latest .run Script from https://sourceforge.net/projects/hplip/ . t/download which is actually provided by HP. In the W***ows-World it’s in most cases a good thing to have software from the products manufacturer, if you want to use peripheral devices. So i thought it might be helpful.
lpadmin -p p1102w -v socket:// -E -m
Now for a favour. Please post what you get for
Re: HP Laserjet P1102w
Post by mint-A-fari » Mon Jul 15, 2019 10:45 pm
Thanks a lot for your reply. I really appreciate your help.
bannertopdf hpcupsfax pdftoraster rastertopwg
brftoembosser hpps pstopdf rastertosag-gdi
c2esp imagetobrf pstops sys5ippprinter
c2espC imagetopdf pstotiff textbrftoindexv3
command2esp imagetops rastertobrlaser textbrftoindexv4
commandtoescpx imagetoraster rastertodymo textonly
commandtopclx imagetoubrl rastertoepson texttobrf
commandtops imageubrltoindexv3 rastertoescpx texttopdf
foomatic-rip imageubrltoindexv4 rastertohp texttops
gstopxl pdftoijs rastertolabel urftopdf
gstoraster pdftoopvp rastertopclx
gziptoany pdftopdf rastertopdf
hpcups pdftops rastertoptch
But there is no plugins folder in the path /usr/share/hplip/prnt. Is this because the proprietary plugin is missing? I had it installed, but not sure about the actual state:
colorcal.py cups.py __init__.py ldl.py pcl.py __pycache__
foo2zjs:0/ppd/foo2zjs/HP-LaserJet_Pro_P1102w.ppd HP LaserJet Pro P1102w Foomatic/foo2zjs-z2 (recommended)
drv:///hpijs.drv/hp-laserjet_professional_p1102w-hpijs.ppd HP LaserJet Professional p1102w hpijs, 3.16.3, requires proprietary plugin
drv:///hpcups.drv/hp-laserjet_professional_p1102w.ppd HP LaserJet Professional p1102w, hpcups 3.16.3, requires proprietary plugin
According to that output i executed the following command:
lpadmin -p p1102w -v socket://192.168.2.3 -E -m drv:///hpijs.drv/hp-laserjet_professional_p1102w-hpijs.ppd
Afterwards i found a new printer called «p1102w» in my system config. Trying to print a test page failed and the device has been stopped. Then i realized that there are now 2 new printers — the second one is called «Laserjet». Trying to open the «Laserjet»-preferences shows the printer connected under the following adress: ipp://Laserjet.local:631/printers/Laserjet. Trying to print a test page on Laserjet also fails.
+ wlp3s0 IPv6 HP LaserJet Professional P1102w Internet Printer local
+ wlp3s0 IPv6 p1102w @ EvergreenTerace742 Internet Printer local
+ wlp3s0 IPv4 HP LaserJet Professional P1102w Internet Printer local
+ wlp3s0 IPv4 p1102w @ EvergreenTerace742 Internet Printer local
= wlp3s0 IPv6 p1102w @ EvergreenTerace742 Internet Printer local
hostname = [EvergreenTerace742.local]
address = [fe80::18c5:d8e1:bffa:99]
port = [631]+ wlp3s0 IPv6 HP LaserJet Professional P1102w Internet Printer local
+ wlp3s0 IPv6 p1102w @ EvergreenTerace742 Internet Printer local
+ wlp3s0 IPv4 HP LaserJet Professional P1102w Internet Printer local
+ wlp3s0 IPv4 p1102w @ EvergreenTerace742 Internet Printer local
= wlp3s0 IPv6 p1102w @ EvergreenTerace742 Internet Printer local
hostname = [EvergreenTerace742.local]
address = [fe80::18c5:d8e1:bffa:99]
port = [631]
txt = [«printer-type=0x80900E» «printer-state=3» «Color=T» «TLS=1.2» «UUID=bb3abd1d-992d-37d8-5e61-1dd37be50995» «URF=DM3» «pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf» «product=(HP LaserJet Professional p1102w Printer)» «priority=0» «adminurl=https://EvergreenTerace742.local:631/printers/p1102w» «ty=HP LaserJet Professional p1102w hpijs, 3.16.3, requires proprietary plugin» «rp=printers/p1102w» «qtotal=1» «txtvers=1»]
= wlp3s0 IPv4 p1102w @ EvergreenTerace742 Internet Printer local
hostname = [EvergreenTerace742.local]
address = [192.168.2.51]
port = [631]
txt = [«printer-type=0x80900E» «printer-state=3» «Color=T» «TLS=1.2» «UUID=bb3abd1d-992d-37d8-5e61-1dd37be50995» «URF=DM3» «pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf» «product=(HP LaserJet Professional p1102w Printer)» «priority=0» «adminurl=https://EvergreenTerace742.local:631/printers/p1102w» «ty=HP LaserJet Professional p1102w hpijs, 3.16.3, requires proprietary plugin» «rp=printers/p1102w» «qtotal=1» «txtvers=1»]
= wlp3s0 IPv4 HP LaserJet Professional P1102w Internet Printer local
hostname = [Laserjet.local]
address = [192.168.2.3]
port = [631]
txt = [«Staple=F» «Sort=F» «Scan=F» «Punch=0» «PaperCustom=F» «Duplex=F» «Copies=F» «Color=F» «Collate=F» «Bind=F» «Binary=T» «Transparent=T» «UUID=17a8cd2e-c532-5844-ac7a-9e9dae49f446» «note=» «adminurl=http://192.168.2.3» «mac=2C:76:8A:01:D3:FB» «priority=40» «usb_CMD=ZJ/URF» «usb_MDL=HP LaserJet Professional P1102w» «usb_MFG=Hewlett-Packard» «product=(Hewlett-Packard HP LaserJet Professional P1102w)» «ty=HP LaserJet Professional P1102w» «URF=CP1,IS1,OB10,PQ3-4-5,RS600,W8,MT1-2-3-4-5-6» «rp=printers/Laserjet» «pdl=image/urf,application/PCLm» «qtotal=1» «txtvers=1»]
= wlp3s0 IPv6 HP LaserJet Professional P1102w Internet Printer local
hostname = [Laserjet.local]
address = [192.168.2.3]
port = [631]
txt = [«Staple=F» «Sort=F» «Scan=F» «Punch=0» «PaperCustom=F» «Duplex=F» «Copies=F» «Color=F» «Collate=F» «Bind=F» «Binary=T» «Transparent=T» «UUID=17a8cd2e-c532-5844-ac7a-9e9dae49f446» «note=» «adminurl=http://192.168.2.3» «mac=2C:76:8A:01:D3:FB» «priority=40» «usb_CMD=ZJ/URF» «usb_MDL=HP LaserJet Professional P1102w» «usb_MFG=Hewlett-Packard» «product=(Hewlett-Packard HP LaserJet Professional P1102w)» «ty=HP LaserJet Professional P1102w» «URF=CP1,IS1,OB10,PQ3-4-5,RS600,W8,MT1-2-3-4-5-6» «rp=printers/Laserjet» «pdl=image/urf,application/PCLm» «qtotal=1» «txtvers=1»]
txt = [«printer-type=0x80900E» «printer-state=3» «Color=T» «TLS=1.2» «UUID=bb3abd1d-992d-37d8-5e61-1dd37be50995» «URF=DM3» «pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf» «product=(HP LaserJet Professional p1102w Printer)» «priority=0» «adminurl=https://EvergreenTerace742.local:631/printers/p1102w» «ty=HP LaserJet Professional p1102w hpijs, 3.16.3, requires proprietary plugin» «rp=printers/p1102w» «qtotal=1» «txtvers=1»]
= wlp3s0 IPv4 p1102w @ EvergreenTerace742 Internet Printer local
hostname = [EvergreenTerace742.local]
address = [192.168.2.51]
port = [631]
txt = [«printer-type=0x80900E» «printer-state=3» «Color=T» «TLS=1.2» «UUID=bb3abd1d-992d-37d8-5e61-1dd37be50995» «URF=DM3» «pdl=application/octet-stream,application/pdf,application/postscript,image/jpeg,image/png,image/pwg-raster,image/urf» «product=(HP LaserJet Professional p1102w Printer)» «priority=0» «adminurl=https://EvergreenTerace742.local:631/printers/p1102w» «ty=HP LaserJet Professional p1102w hpijs, 3.16.3, requires proprietary plugin» «rp=printers/p1102w» «qtotal=1» «txtvers=1»]
= wlp3s0 IPv4 HP LaserJet Professional P1102w Internet Printer local
hostname = [Laserjet.local]
address = [192.168.2.3]
port = [631]
txt = [«Staple=F» «Sort=F» «Scan=F» «Punch=0» «PaperCustom=F» «Duplex=F» «Copies=F» «Color=F» «Collate=F» «Bind=F» «Binary=T» «Transparent=T» «UUID=17a8cd2e-c532-5844-ac7a-9e9dae49f446» «note=» «adminurl=http://192.168.2.3» «mac=2C:76:8A:01:D3:FB» «priority=40» «usb_CMD=ZJ/URF» «usb_MDL=HP LaserJet Professional P1102w» «usb_MFG=Hewlett-Packard» «product=(Hewlett-Packard HP LaserJet Professional P1102w)» «ty=HP LaserJet Professional P1102w» «URF=CP1,IS1,OB10,PQ3-4-5,RS600,W8,MT1-2-3-4-5-6» «rp=printers/Laserjet» «pdl=image/urf,application/PCLm» «qtotal=1» «txtvers=1»]
= wlp3s0 IPv6 HP LaserJet Professional P1102w Internet Printer local
hostname = [Laserjet.local]
address = [192.168.2.3]
port = [631]
txt = [«Staple=F» «Sort=F» «Scan=F» «Punch=0» «PaperCustom=F» «Duplex=F» «Copies=F» «Color=F» «Collate=F» «Bind=F» «Binary=T» «Transparent=T» «UUID=17a8cd2e-c532-5844-ac7a-9e9dae49f446» «note=» «adminurl=http://192.168.2.3» «mac=2C:76:8A:01:D3:FB» «priority=40» «usb_CMD=ZJ/URF» «usb_MDL=HP LaserJet Professional P1102w» «usb_MFG=Hewlett-Packard» «product=(Hewlett-Packard HP LaserJet Professional P1102w)» «ty=HP LaserJet Professional P1102w» «URF=CP1,IS1,OB10,PQ3-4-5,RS600,W8,MT1-2-3-4-5-6» «rp=printers/Laserjet» «pdl=image/urf,application/PCLm» «qtotal=1» «txtvers=1»]
I’d really like to understand that output. Are these all printing devices that are actively present in my system as a driver with different protocols?