HP laser MFP 135w (SOLVED)

Forum rules
Before you post please read this
Post Reply
jofraprez
Level 1
Level 1
Posts: 11
Joined: Sun Sep 30, 2018 6:21 am

HP laser MFP 135w (SOLVED)

Post by jofraprez »

Hi,
I am trying to install the printer HP laser MFP 135w correctly, but I can't get it to work properly. I detail what has been done hoping that one of you can help me. :)

1.- Installed hplip-3.20.3(All in one). Does not detect the printer.

2.- Using the native printer section in Mint (I have Mint 19.3), I manage to install the printer. However, the scanner is not detected by the system.

could either of you help me with any ideas?... I have searched and searched and come to a dead end.

Thanks

Direct link to the solution: viewtopic.php?p=1788364#p1788364
Last edited by jofraprez on Sat Apr 04, 2020 4:08 pm, edited 2 times in total.

brian_p
Level 6
Level 6
Posts: 1042
Joined: Thu Jan 17, 2019 9:20 am

Re: HP laser MFP 135w

Post by brian_p »

The HP laser MFP 135w is not supported by HPLIP but that does not make scanning or printing impossible. Fortunately, there are other ways. Indeed, you appear to have discovered the method for printing. :)

Please have the device connected to the network by wireless and give the outputs of

Code: Select all

avahi-browse -rt _ipp._tcp

Code: Select all

avahi-browse -rt _uscan._tcp
Also give what you get for

Code: Select all

lpstat -t
--
Brian.

jofraprez
Level 1
Level 1
Posts: 11
Joined: Sun Sep 30, 2018 6:21 am

Re: HP laser MFP 135w

Post by jofraprez »

Hi Brian,

Unfortunately, I don't have wifi in the basement where I have the printer. I'll have to wait to enable the wifi to prove it.
Just one question: so there's no way to connect the printer via USB?..only via wifi?

I really appreciate your help. I ordered a wifi repeater today and I'm waiting for it to arrive. :)

brian_p
Level 6
Level 6
Posts: 1042
Joined: Thu Jan 17, 2019 9:20 am

Re: HP laser MFP 135w

Post by brian_p »

jofraprez wrote:
Tue Mar 24, 2020 4:55 pm
Unfortunately, I don't have wifi in the basement where I have the printer. I'll have to wait to enable the wifi to prove it.
Hello jofraprez,

I said that this device is not supported by HPLIP but now want to make a stronger statement:
  • This device is based on SPL (Samsung Printer Language) and will never be supported by HPLIP.
Your very best stategy is to get the 135w connected by wireless and This will give you modern, supported and future-proof printing and scanning.
Just one question: so there's no way to connect the printer via USB?..only via wifi?
There is a package (ULD) at https://support.hp.com/us-en/drivers/se ... l/24494382.
I really appreciate your help. I ordered a wifi repeater today and I'm waiting for it to arrive. :)
I do not quite understand how you were able to get printing going on USB and would appreciate finding out. Please post the lpstat -t I asked for. There should also be a PPD file for your printer in /etc/cups/ppd. Only you know its name. I'd like the output of

Code: Select all

sudo grep "*NickName" /etc/cups/ppd/YOUR_PPD_FILE
--
Brian.

jofraprez
Level 1
Level 1
Posts: 11
Joined: Sun Sep 30, 2018 6:21 am

Re: HP laser MFP 135w

Post by jofraprez »

Hi brian_p,

I'm very sorry for the delay in answering you. With the government restrictions due to the pandemic, I'm having trouble receiving the wifi relay I bought online. I haven't gotten it yet.

I've done the test you asked for with this:

Code: Select all

sudo grep "*NickName" /etc/cups/ppd/YOUR_PPD_FILE
The result is as follows:

Code: Select all

grep: /etc/cups/ppd/YOUR_PPD_FILE: No existe el archivo o el directorio
Therefore, even though Linux Mint recognizes the printer via USB, I cannot print.

On the other hand, the package (ULD) no longer exists: https://support.hp.com/us-en/drivers/se ... l/24494382

Anyway, I'll wait a few more days to get the wifi repeater. If I don't get it this Friday, I'll borrow one from a friend and try to follow your directions.

Thanks for your help and patience. :)

brian_p
Level 6
Level 6
Posts: 1042
Joined: Thu Jan 17, 2019 9:20 am

Re: HP laser MFP 135w

Post by brian_p »

jofraprez wrote:
Wed Apr 01, 2020 10:10 pm
Hi brian_p,

I'm very sorry for the delay in answering you. With the government restrictions due to the pandemic, I'm having trouble receiving the wifi relay I bought online. I haven't gotten it yet.
Understandable, so not a problem.
I've done the test you asked for with this:

Code: Select all

sudo grep "*NickName" /etc/cups/ppd/YOUR_PPD_FILE
The result is as follows:

Code: Select all

grep: /etc/cups/ppd/YOUR_PPD_FILE: No existe el archivo o el directorio
Therefore, even though Linux Mint recognizes the printer via USB, I cannot print.
It would be best for you to give the output of

Code: Select all

ls -l /etc/cups/ppd/
and we can go from there.
On the other hand, the package (ULD) no longer exists: https://support.hp.com/us-en/drivers/se ... l/24494382
Are you sure about that? There is a box with a + sign. You have to click on it and another box to get to the driver package.

Anyway, a user has now given full instructions on how to get the package and on how to install it and set up a print queue. See Message #16 at https://answers.launchpad.net/hplip/+question/689584.
--
Brian.

jofraprez
Level 1
Level 1
Posts: 11
Joined: Sun Sep 30, 2018 6:21 am

Re: HP laser MFP 135w

Post by jofraprez »

Hi brian_p,

While the wifi repeater arrives, I have tried the solution you indicate at https://answers.launchpad.net/hplip/+question/689584

I've followed the step-by-step summary instructions:

Code: Select all

1. Get the driver package from

  https://support.hp.com/us-en/drivers/selfservice/hp-color-laser-mfp-170-printer-series/24494365

which on the command line can be done with

  cd /tmp && wget https://ftp.hp.com/pub/softlib/software13/printers/MFP170/ULDLINUX_V1.00.39_00.12.zip

2. Unzip and untar the package with

  unzip ULDLINUX_V1.00.39_00.12.zip && cd ULDLINUX_V1.00.39_00.12 && tar xvfz uld.tar.gz

3. Run the installation script with

  cd uld && sudo ./install.sh

4a. Add the printer via the CUPS interface at http://localhost:631/
by manually selecting the PPD file

  /usr/share/ppd/uld-hp/HP_Color_Laser_MFP_17x_Series.ppd

OR

4b. Add the printer via lpadmin and the command line via

  sudo lpadmin -p m179fnw -v "URI" -E -P /usr/share/ppd/uld-hp/HP_Color_Laser_MFP_17x_Series.ppd

where URI is the string corresponding to the printer returned by the
command

  lpinfo -v | grep usb
The printer is installed and recognized, supposedly, by USB. However, when I try to print something (anything), it doesn't print anything and it goes through the sheets as if it were a document with many sheets, until the printer is empty.

Any ideas of yours that might guide me?

PS: I forgot to mention that the scanner is not detected either.

brian_p
Level 6
Level 6
Posts: 1042
Joined: Thu Jan 17, 2019 9:20 am

Re: HP laser MFP 135w

Post by brian_p »

Hello jofraprez,

Have you used the correct PPD? You want HP_Laser_MFP_13x_Series.ppd. For scanning, would you please have a look at https://wiki.debian.org/Scanner#issue and find where the installation process has put libsane-smfp.so?
--
Brian.

jofraprez
Level 1
Level 1
Posts: 11
Joined: Sun Sep 30, 2018 6:21 am

Re: HP laser MFP 135w

Post by jofraprez »

Hi brian_p,

I've uninstalled everything and reinstalled it from scratch. I made sure to select the correct PPD: HP_Laser_MFP_13x_Series.ppd

I can print properly (I'm overjoyed). :)

The scanner still doesn't work. I followed your instructions on libsane-smfp.so, and I found the following.

Code: Select all

libsane-smfp.so at /usr/lib64/sane
I also find other similar files:

Code: Select all

libsane-smfp.so.1
libsane-smfp.so.1.0.1

I've come this far and I have no idea how to continue.

Thank you so much for your help, again.

brian_p
Level 6
Level 6
Posts: 1042
Joined: Thu Jan 17, 2019 9:20 am

Re: HP laser MFP 135w

Post by brian_p »

jofraprez wrote:
Sat Apr 04, 2020 7:34 am
Hi brian_p,

I've uninstalled everything and reinstalled it from scratch. I made sure to select the correct PPD: HP_Laser_MFP_13x_Series.ppd

I can print properly (I'm overjoyed). :)
Excellent!
The scanner still doesn't work. I followed your instructions on libsane-smfp.so, and I found the following.

Code: Select all

libsane-smfp.so at /usr/lib64/sane
I also find other similar files:

Code: Select all

libsane-smfp.so.1
libsane-smfp.so.1.0.1

I've come this far and I have no idea how to continue.

Thank you so much for your help, again.
Please re-read https://wiki.debian.org/Scanner#issue.

/usr/lib64/sane is entirely the wrong place for these files. Copy them to /usr/lib/x86_64-linux-gnu/sane with

Code: Select all

cp /usr/lib64/sane/libsane-smfp* /usr/lib/x86_64-linux-gnu/sane/
How is scanning now?
--
Brian.

jofraprez
Level 1
Level 1
Posts: 11
Joined: Sun Sep 30, 2018 6:21 am

Re: HP laser MFP 135w

Post by jofraprez »

Hi brian_p,

I have followed your instructions and now everything works correctly.
Printer working properly.
Scanner working correctly.
I thank you very much for your patience and the help you have given me.
In the same way, I leave below the whole process summarized in case it serves someone else with the same problem.

<------------------------ Solution summary process ------------------------->

1. Get the driver package from

Code: Select all

 https://support.hp.com/us-en/drivers/selfservice/hp-laser-mfp-130-printer-series/24494378/model/24494382
which on the command line can be done with

Code: Select all

cd /tmp && wget https://ftp.hp.com/pub/softlib/software13/printers/MFP170/ULDLINUX_V1.00.39_00.12.zip
2. Unzip and untar the package with

Code: Select all

unzip ULDLINUX_V1.00.39_00.12.zip && cd ULDLINUX_V1.00.39_00.12 && tar xvfz uld.tar.gz
3. Run the installation script with

Code: Select all

cd uld && sudo ./install.sh
4a. Add the printer via the CUPS interface at http://localhost:631/
by manually selecting the PPD file

Code: Select all

/usr/share/ppd/uld-hp/HP_Laser_MFP_13x_Series.ppd
OR

4b. Add the printer via lpadmin and the command line via

Code: Select all

sudo lpadmin -p m179fnw -v "URI" -E -P /usr/share/ppd/uld-hp/HP_Laser_MFP_13x_Series.ppd
where URI is the string corresponding to the printer returned by the
command

Code: Select all

lpinfo -v | grep usb
5.- To install the scanner, check the location of the file libsane-smfp.so

This file should be in /usr/lib64/sane

6.- Since this is the wrong location for this file, it must be copied to the correct location ( /usr/lib/x86_64-linux-gnu/sane ) using the following command.

Code: Select all

sudo cp /usr/lib64/sane/libsane-smfp* /usr/lib/x86_64-linux-gnu/sane/
Once all of the above has been done, both the printer and the scanner must be working properly.

<-------------------------------End Solution summary process ---------------------------------------->

Thanks again, brian_p :)

cristianomp
Level 1
Level 1
Posts: 2
Joined: Thu May 21, 2020 3:31 pm

Re: HP laser MFP 135w (SOLVED)

Post by cristianomp »

Hi!
I follow the steps, however I still can't scanner. It's possible to print (wireless also), but I can't scanner. Any ideas?

cristianomp
Level 1
Level 1
Posts: 2
Joined: Thu May 21, 2020 3:31 pm

Re: HP laser MFP 135w (SOLVED)

Post by cristianomp »

Hi!

As a stated by brian_p, I need to install sane-airscan. More details can be found <https://github.com/alexpevzner/sane-air ... /README.md>

Briefly, I need to follow the steps in <https://software.opensuse.org//download ... ne-airscan> (choose OS).
In my case (Ubuntu 18.04), these steps:

1) Add repository
sudo sh -c "echo 'deb http://download.opensuse.org/repositori ... ntu_18.04/ /' > /etc/apt/sources.list.d/home:pzz.list"

2) Download key key
wget -nv https://download.opensuse.org/repositor ... elease.key -O Release.key

3) Add key
sudo apt-key add - < Release.key

4) update repositories
sudo apt-get update

5) install sane-airscan
sudo apt-get install sane-airscan

Post Reply

Return to “Printers & Scanners”