LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   My HP LaserJet Pro M127fn stopped printing (https://www.linuxquestions.org/questions/linux-hardware-18/my-hp-laserjet-pro-m127fn-stopped-printing-4175650879/)

Michael Piziak 03-25-2019 07:42 PM

My HP LaserJet Pro M127fn stopped printing
 
My HP LaserJet Pro M127fn stopped printing. I even put a new cartridge in it.

Any help please.

frankbell 03-25-2019 07:56 PM

Some more information would be helpful.

How is it connected to the computer?

If it's a networked printer, can you ping it?

If it is a multi-function printer, do the other functions (scan, copy, etc.) still work?

If you open the HPLIP GUI (hp-toolbox on the CLI), does it see the printer?

If the printer has a panel menu, what does it tell you about the printer status?

Michael Piziak 03-25-2019 09:12 PM

Quote:

Originally Posted by frankbell (Post 5977773)
Some more information would be helpful.

How is it connected to the computer?

If it's a networked printer, can you ping it?

If it is a multi-function printer, do the other functions (scan, copy, etc.) still work?

If you open the HPLIP GUI (hp-toolbox on the CLI), does it see the printer?

If the printer has a panel menu, what does it tell you about the printer status?


It's multi-function in that it has a scanner on it too. The HPLIP (or hp-toolbox) sees it. Says the last print job is "pending"
The panel menu says "auto off/auto on"

It's the LaserJet MFP M127fn connected via USB

Michael Piziak 03-26-2019 10:28 AM

How can I completely un-install the hplip (or hp-toolbox) and reinstall it to see if that will work?

Also, are there any terminal commands I can try to see if the printer is broken and needs replaced.

frankbell 03-27-2019 08:31 PM

I was thinking about this today.

I think you should first check the printer status in CUPS (http://localhost:631) and make sure the printer isn't paused or suspended and has no pending jobs, then try a test page from there.

Michael Piziak 03-27-2019 10:33 PM

Quote:

Originally Posted by frankbell (Post 5978608)
I was thinking about this today.

I think you should first check the printer status in CUPS (http://localhost:631) and make sure the printer isn't paused or suspended and has no pending jobs, then try a test page from there.

Everything I print turns into a "pending job" and the printers status is "paused"

?

Michael Piziak 03-27-2019 11:31 PM

Also, scanning quit working.

I use "SimpleScan" to scan papers. Now it says a scanner is not available.

ferrari 03-28-2019 03:16 AM

If the scanner function is using the HPLIP 'hpaio' SANE driver, the HP printer 'hp' backend also needs to be working (as it relies on this for communication).

1) Some initial information (with printer connected and turned on)...
Code:

lpinfo -v
Code:

lpstat -t
2) To remove any stale print jobs do
Code:

cancel -a
and check printer status again.

3) You asked
Quote:

Also, are there any terminal commands I can try to see if the printer is broken and needs replaced.
Yes, run the hp diagnostic utility...
Code:

hp-doctor
More info:
http://manpages.ubuntu.com/manpages/...-doctor.1.html

Michael Piziak 04-05-2019 11:17 AM

Quote:

Originally Posted by ferrari (Post 5978674)
If the scanner function is using the HPLIP 'hpaio' SANE driver, the HP printer 'hp' backend also needs to be working (as it relies on this for communication).

1) Some initial information (with printer connected and turned on)...
Code:

lpinfo -v
Code:

lpstat -t
2) To remove any stale print jobs do
Code:

cancel -a
and check printer status again.

3) You asked

Yes, run the hp diagnostic utility...
Code:

hp-doctor
More info:
http://manpages.ubuntu.com/manpages/...-doctor.1.html

michael@michael-HP-EliteDesk-800-G1-SFF:~$ lpinfo -v
file cups-brf:/
network ipp
network http
network lpd
network socket
direct hp
network https
network ipps
network beh
serial serial:/dev/ttyS0?baud=115200
serial serial:/dev/ttyS4?baud=115200
direct usb://HP/LaserJet%20Pro%20MFP%20M127fn?serial=CNB9H7FDXQ&interface=1
michael@michael-HP-EliteDesk-800-G1-SFF:~$

michael@michael-HP-EliteDesk-800-G1-SFF:~$ hp-doctor

Command 'hp-doctor' not found, but can be installed with:

sudo apt install hplip

michael@michael-HP-EliteDesk-800-G1-SFF:~$ sudo apt install hplip
[sudo] password for michael:
Reading package lists... Done
Building dependency tree
Reading state information... Done
hplip is already the newest version (3.17.10+repack0-5).
The following packages were automatically installed and are no longer required:
fonts-mplus fonts-roboto fonts-roboto-hinted freeglut3 libglade2-0
libglew2.0 libgtkglext1 libllvm6.0 libllvm6.0:i386 liblua5.1-0 libmini18n1
libminizip1 libmupen64plus2 libqt4-opengl libqt5designer5 libqt5help5
libquazip5-1 libretro-core-info mupen64plus-audio-all mupen64plus-audio-sdl
mupen64plus-data mupen64plus-input-all mupen64plus-input-sdl
mupen64plus-rsp-all mupen64plus-rsp-hle mupen64plus-rsp-z64
mupen64plus-ui-console mupen64plus-video-all mupen64plus-video-arachnoid
mupen64plus-video-glide64 mupen64plus-video-glide64mk2
mupen64plus-video-rice mupen64plus-video-z64 python-glade2
python3-dbus.mainloop.pyqt5 python3-pyqt5 python3-sip retroarch-assets
yabause-common
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 139 not upgraded.
michael@michael-HP-EliteDesk-800-G1-SFF:~$ hp-doctor

Command 'hp-doctor' not found, but can be installed with:

sudo apt install hplip

michael@michael-HP-EliteDesk-800-G1-SFF:~$

michael@michael-HP-EliteDesk-800-G1-SFF:~$ lpstat -t
scheduler is running
system default destination: HP-LaserJet-Pro-MFP-M127fn
device for HP-LaserJet-Pro-MFP-M127fn: hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
device for HP-LaserJet-Pro-MFP-M127fn-Fax-2: hpfax:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
HP-LaserJet-Pro-MFP-M127fn accepting requests since Mon 25 Mar 2019 07:51:38 PM EDT
HP-LaserJet-Pro-MFP-M127fn-Fax-2 accepting requests since Sat 10 Mar 2018 11:46:35 AM EST
printer HP-LaserJet-Pro-MFP-M127fn disabled since Mon 25 Mar 2019 07:51:38 PM EDT -
reason unknown
printer HP-LaserJet-Pro-MFP-M127fn-Fax-2 is idle. enabled since Sat 10 Mar 2018 11:46:35 AM EST
michael@michael-HP-EliteDesk-800-G1-SFF:~$




Note that I hooked my printer up to the laptop and it does work. Just doesn't work here on my desktop.

ferrari 04-05-2019 04:19 PM

The output is only relevant to us if you ran the requested commands on the computer having the issue. Also, please enclose output within CODE tags when posting here (refer to the ‘#’ button in the advanced forum editor).

ferrari 04-05-2019 04:25 PM

The lpinfo output shows that the attached printer is detected by the CUPS hp backend. The lpstat output shows that the printer is disabled, so you need to enable the printer again. You can do that via the CUPS web interface (using your favourite browser), or via the cupsenable command.

ferrari 04-05-2019 04:38 PM

It may be that your distro packages hp-doctor separately perhaps. I don’t know what hp-tools provides for example. Others may be able to advise further here (I’m not an Ubuntu user).

frankbell 04-05-2019 06:29 PM

How old is this printer?

ferrari 04-05-2019 06:59 PM

Cancel all stale/pending print jobs with
Code:

sudo cancel -a
try to re-enable the printer with
Code:

sudo cupsenable HP-LaserJet-Pro-MFP-M127fn
Check the printer status again...
Code:

lpstat -p
Now try sending a test page via CUPS web interface

localhost:631/printers

Click on the printer entry > Maintenance > Print Test Page

Michael Piziak 04-05-2019 10:13 PM

Quote:

Originally Posted by ferrari (Post 5981614)
The output is only relevant to us if you ran the requested commands on the computer having the issue. Also, please enclose output within CODE tags when posting here (refer to the ‘#’ button in the advanced forum editor).

They were run on the computer having the issue.


All times are GMT -5. The time now is 04:10 AM.