I am trying to install a multifunctional printer Laserjet M1212nf MFP on Ubuntu 12.04. I downloaded and install the hplip indicated by the official web site. At the end of the installation I chose reboot the whole system and next I call hp-setup in the terminal (as normal user and then as root). After select in the dialog box my printer I got the following error:
Searching... (bus=usb, search=(None), desc=0)<br>
/Traceback (most recent call last):<br>
File "/usr/share/hplip/ui4/setupdialog.py", line 1255, in NextButton_clicked<br>
self.showAddPrinterPage()<br>
File "/usr/share/hplip/ui4/setupdialog.py", line 690, in showAddPrinterPage<br>
self.readwriteFaxInformation()<br>
File "/usr/share/hplip/ui4/setupdialog.py", line 1079, in readwriteFaxInformation<br>
self.fax_name_company = unicode(d.getStationName())<br>
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 20: ordinal not in range(128)
I think at this stage the plugin should be downloaded, but it is not working. Any suggestion on how to solve this problem ?
Edition:
After running hp-toolbox I got the following error message :
Unable to communicate with device (code=12): hp:/usb /HP_LaserJet_Professional_M1212nf_MFP?serial=000000000ST10HPQSI1c
I think the problem is with return content_type, content.encode('utf-8'). The solution is the replace the characters to modify the program line:
This does nothing just replaces the character. refer to this
Maybe this can help you out
I realise this is an old question. But I searched SOOO MUCH to fix the issue with
also other errors I saw
For me the problem was NOT with the computer but with the configuration of the printer throught the web interface of the printer, in network, smnp where you need to ALLOW read/write access to SMNP.
My setup is with HPLIP, with a laserjet multifunction, on a network connection (not USB).