LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-25-2019, 07:42 PM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Rep: Reputation: Disabled
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.
 
Old 03-25-2019, 07:56 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,716
Blog Entries: 24

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
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?
 
Old 03-25-2019, 09:12 PM   #3
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
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

Last edited by Michael Piziak; 03-26-2019 at 11:04 AM.
 
Old 03-26-2019, 10:28 AM   #4
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
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.

Last edited by Michael Piziak; 03-26-2019 at 11:28 AM.
 
Old 03-27-2019, 08:31 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,716
Blog Entries: 24

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
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.
 
Old 03-27-2019, 10:33 PM   #6
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
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"

?
 
Old 03-27-2019, 11:31 PM   #7
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
Also, scanning quit working.

I use "SimpleScan" to scan papers. Now it says a scanner is not available.
 
Old 03-28-2019, 03:16 AM   #8
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
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
 
Old 04-05-2019, 11:17 AM   #9
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
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.

Last edited by Michael Piziak; 04-05-2019 at 11:18 AM.
 
Old 04-05-2019, 04:19 PM   #10
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
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).
 
Old 04-05-2019, 04:25 PM   #11
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
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.
 
Old 04-05-2019, 04:38 PM   #12
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
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).

Last edited by ferrari; 04-05-2019 at 04:40 PM.
 
Old 04-05-2019, 06:29 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 14,716
Blog Entries: 24

Rep: Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108Reputation: 4108
How old is this printer?
 
Old 04-05-2019, 06:59 PM   #14
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
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
 
Old 04-05-2019, 10:13 PM   #15
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ferrari View Post
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.

Last edited by Michael Piziak; 04-05-2019 at 10:24 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HP LaserJet Professional P1102w stopped working dwhb Linux - Hardware 1 02-11-2019 05:09 PM
[SOLVED] Old HP LaserJet stopped working after 14.2 upgrade, "filter failed", parallel port someone named bert Slackware 11 09-29-2017 04:37 AM
[SOLVED] HP LaserJet Pro MFP m125nw - not printing SerenaVictoria Linux - Hardware 11 07-05-2015 05:49 PM
Printing problem in RH9 with HP LaserJet 1010 ede Linux - Hardware 0 06-16-2004 04:10 AM
USB Printing ... HP LaserJet 1200 FlatZ28 Slackware 11 01-19-2004 08:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration