Laser Jet Pro m203dn does not print via network

Asked by Malte Ritter on 2020-03-22

I have a HP Laser Jet Pro m203dn connected to my home network and installed on my computer (running Manjaro) using the HPLIP graphic interface. It used to work fine until recently (possibly until the latest hplip update to version 1:3.20.2-1, but I'm not sure, I'm only using the printer a few times a month).
Now, when I try to print anything, the printer stops with an error (red light on the printer flashing). When I press the resume button on the printer, it prints a page full of gibberish.
When I try to print a test page from within HPLIP (or CUPS, it's the same), the printer stops again with an error (red light on the printer flashing). In this case, when I press the "resume" button on the printer it prints the following error message:

ERROR:
syntaxerror
OFFENDING COMMAND:
--nostringval--
STACK:
/GetInstalledFont

I have tried deleting the printer from HPLIP and reinstalling it.
I have tried deleting the printer from HPLIP and reinstalling it using CUPS, using different ppd's.
In all cases, the problem remains.

However, if I connect the printer directly to my Computer via USB and install it using HPLIP, the problem does not occur and I can normally print. Printing via network from an Android device works, too, as well as printing via network from another computer running Win 10 home.

Question information

Language:
English Edit question
Status:
Solved
For:
HPLIP Edit question
Assignee:
No assignee Edit question
Solved by:
Malte Ritter
Solved:
2020-03-25
Last query:
2020-03-25
Last reply:
2020-03-22
Malte Ritter (mritter) said : #2

Hi Brian,
thanks for your reply. I assume you wanted me to find the link to this answer:

https://answers.launchpad.net/hplip/+question/689393

I tried it, and it halfway worked: The printer prints, but only after I press the "resume" button on the printer, which is kind of annoying. Do you have a solution for this as well?

Malte

brian_p (claremont102) said : #3

Hello Malte,

You did indeed get to the correct link. I'm afraid I have no immediate solution for
you and, TBH, I cannot conceive that what the queue you set up sends to the
printer causes an error. Perhaps the printer manual helps with your sorting it out.

Brian.

brian_p (claremont102) said : #4

Switching the printer off for a minute or two might help. Anything more than this
to cure the issue would involve a fair bit of (fairly staraightforward) debugging.

Please would you let me have the outputs of

avahi-browse -rt _ipp._tcp

and

avahi-browse -rt _uscan._tcp

for my records?

Brian.

brian_p (claremont102) said : #5

The two asked for outputs could also, if necessary, be of help in solving
this Resume button problem. Being able to print without this problem
with the Android is interesting. I do not know anything about Win 10.

Brian.

Malte Ritter (mritter) said : #6

Hi Brian,
I have been distracted by something else (that is, work), so I'm coming back to the printer problem only now. Here are the outputs you asked for:

avahi-browse -rt _ipp._tcp:

+ wlp3s0 IPv6 HP LaserJet M203dn (D9E3D5) Internet Printer local
+ wlp3s0 IPv4 HP LaserJet M203dn (D9E3D5) Internet Printer local
= wlp3s0 IPv6 HP LaserJet M203dn (D9E3D5) Internet Printer local
   hostname = [NPID9E3D5.local]
   address = [192.168.0.8]
   port = [631]
   txt = ["mopria-certified=1.3" "print_wfds=T" "mac=ac:e2:d3:d9:e3:d5" "usb_MDL=HP LaserJet M203-M206" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4333-4234-3230-3030-ace2d3d9e3d5" "Fax=F" "Scan=F" "Duplex=T" "Color=F" "note=unitedStates" "adminurl=http://NPID9E3D5.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP LaserJet M203-M206)" "ty=HP LaserJet M203-M206" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,DM1,IS1,MT1-3-5,RS600" "rp=ipp/print" "pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg" "qtotal=1" "txtvers=1"]
= wlp3s0 IPv4 HP LaserJet M203dn (D9E3D5) Internet Printer local
   hostname = [NPID9E3D5.local]
   address = [192.168.0.8]
   port = [631]
   txt = ["mopria-certified=1.3" "print_wfds=T" "mac=ac:e2:d3:d9:e3:d5" "usb_MDL=HP LaserJet M203-M206" "usb_MFG=HP" "TLS=1.2" "PaperMax=legal-A4" "kind=document,envelope,photo" "UUID=564e4333-4234-3230-3030-ace2d3d9e3d5" "Fax=F" "Scan=F" "Duplex=T" "Color=F" "note=unitedStates" "adminurl=http://NPID9E3D5.local./hp/device/info_config_AirPrint.html?tab=Networking&menu=AirPrintStatus" "priority=10" "product=(HP LaserJet M203-M206)" "ty=HP LaserJet M203-M206" "URF=V1.4,CP99,W8,OB10,PQ3-4-5,DM1,IS1,MT1-3-5,RS600" "rp=ipp/print" "pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,image/jpeg" "qtotal=1" "txtvers=1"]

avahi-browse -rt _uscan._tcp:

Does not return anything.

Hope this helps.
Malte

brian_p (claremont102) said : #7

Thanks. The output has

> pdl=image/urf,application/PCLm,application/octet-stream,application/pdf,
> application/postscript,application/vnd.hp-PCL,application/vnd.hp-PCLXL,
> image/jpeg

pdl is Page Description Language. These are file types that the printer will
accept for printing. So, for example, a PDF could be sent directly to the
printer with

 netcat NPID9E3D5.local 9100 < ANY_PDF_YOU_HAVE

Most HP printers have an open port 9100. Check with

 nmap NPID9E3D5.local

The printing filtering system is not used, so, if you still get the Resume button
problem, I'd be inclined to see the printer as the issue.

Brian.

Malte Ritter (mritter) said : #8

Hi Brian.

Yesterday I received an update to the HPLIP tool and tried again to print on the queue set up by the tool, and it worked without any problems. So, I don't know the exact problem yet, but apparently it is fixed now.

Thank you for your help and your time!

Malte