LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 10-30-2017, 05:40 PM   #1
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Rep: Reputation: 43
HP printer not printing.


Using Ubuntu 16.04 lts

The printer use to work, but now in document print status it simply shows the print jobs have "stopped."

The printer is the HP Laser Jet Pro MFP M127fn

I did a fresh rein-stall of 16.04 lts,and that's when it quit working - perhaps I need to use terminal to reinstall something with HP involved?

Last edited by Michael Piziak; 10-30-2017 at 05:54 PM.
 
Old 10-30-2017, 06:06 PM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,510

Rep: Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491Reputation: 2491
If this is a new install you would need to configure the printer from System Setting or by using CUPS. For CUPS, in a web browser just enter: localhost:631 and add the printer.
 
Old 10-30-2017, 06:14 PM   #3
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
What does the following report?
Code:
lpstat -t
You could try removing any stale/stuck printing jobs...
Code:
cancel -a
and re-enable the printer (using name of the printer as reported by lpstat)...
Code:
sudo cupsenable <name_of_printer>
then try printing again.
 
Old 10-30-2017, 06:21 PM   #4
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by ferrari View Post
What does the following report?
Code:
lpstat -t
You could try removing any stale/stuck printing jobs...
Code:
cancel -a
and re-enable the printer (using name of the printer as reported by lpstat)...
Code:
sudo cupsenable <name_of_printer>
then try printing again.
michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~$ lpstat -t
scheduler is running
system default destination: HP-LaserJet-Pro-MFP-M127fn
device for Hewlett-Packard-HP-LaserJet-Pro-MFP-M127fn: usb://HP/LaserJet%20Pro%20MFP%20M127fn?serial=CNB9H7FDXQ&interface=1
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
Hewlett-Packard-HP-LaserJet-Pro-MFP-M127fn accepting requests since Mon 30 Oct 2017 07:19:06 PM EDT
HP-LaserJet-Pro-MFP-M127fn accepting requests since Mon 30 Oct 2017 07:19:06 PM EDT
HP-LaserJet-Pro-MFP-M127fn-Fax-2 accepting requests since Mon 30 Oct 2017 06:28:20 PM EDT
printer Hewlett-Packard-HP-LaserJet-Pro-MFP-M127fn disabled since Mon 30 Oct 2017 07:19:06 PM EDT -
Unplugged or turned off
printer HP-LaserJet-Pro-MFP-M127fn disabled since Mon 30 Oct 2017 07:19:06 PM EDT -
Unplugged or turned off
printer HP-LaserJet-Pro-MFP-M127fn-Fax-2 disabled since Mon 30 Oct 2017 06:28:20 PM EDT -
Unplugged or turned off
Hewlett-Packard-HP-LaserJet-Pro-MFP-M127fn-13 michael 1024 Mon 30 Oct 2017 07:18:18 PM EDT
HP-LaserJet-Pro-MFP-M127fn-14 michael 1024 Mon 30 Oct 2017 07:18:36 PM EDT
HP-LaserJet-Pro-MFP-M127fn-15 michael 274432 Mon 30 Oct 2017 07:19:56 PM EDT
michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~$
 
Old 10-30-2017, 06:27 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Please define "fresh rein-stall".

Also check the cups logs for errors. The printer requires a plugin and maybe it needs to be reinstalled.
 
Old 10-30-2017, 06:30 PM   #6
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by michaelk View Post
Please define "fresh rein-stall".

Also check the cups logs for errors. The printer requires a plugin and maybe it needs to be reinstalled.
I did a fresh reinstall of Ubuntu 16.04 lts from a thumb drive.
The printer is being recognized, but in document print status the task at hand is either "stopped" or indefinitely "pending"

I have canceled all print tasks and printed again with same results.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-10-30 18-39-22.jpg
Views:	70
Size:	179.8 KB
ID:	26190   Click image for larger version

Name:	3.jpg
Views:	50
Size:	137.5 KB
ID:	26191   Click image for larger version

Name:	Screenshot from 2017-10-30 18-48-04.png
Views:	48
Size:	155.0 KB
ID:	26192  
 
Old 10-30-2017, 06:50 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
To reinstall the plugin you need to run hp-setup.

The min version of hplip required for your printer is 3.13.11.

https://developers.hp.com/hp-linux-imaging-and-printing
 
Old 10-30-2017, 06:59 PM   #8
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by michaelk View Post
To reinstall the plugin you need to run hp-setup.

The min version of hplip required for your printer is 3.13.11.

https://developers.hp.com/hp-linux-imaging-and-printing

Is taking forever and keeps graying in and out like the cpu is having problems - probably time for a new computer. This is a Core 2 duo

image attached after 10 mins of waiting
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2017-10-30 19-56-24.jpg
Views:	45
Size:	116.2 KB
ID:	26194  
 
Old 10-30-2017, 07:09 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
You might try it running from a terminal window.
 
Old 10-30-2017, 07:18 PM   #10
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by michaelk View Post
You might try it running from a terminal window.
Please provide the exact lines I type in terminal. I'm really a newbie when it comes to these things.

Thanks in advance for all help.
 
Old 10-30-2017, 07:28 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
I understand.

https://developers.hp.com/hp-linux-i.../install/index
 
Old 10-30-2017, 07:38 PM   #12
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Reinstalling (via hp-setup) is probably a good idea. I note that you have two printer queues defined for the same printer...

Code:
device for Hewlett-Packard-HP-LaserJet-Pro-MFP-M127fn: usb://HP/LaserJet%20Pro%20MFP%20M127fn?serial=CNB9H7FDXQ&interface=1
device for HP-LaserJet-Pro-MFP-M127fn: hp:/usb/HP_LaserJet_Pro_MFP_M127fn?serial=CNB9H7FDXQ
For HPLIP printing only the second is valid. You'll note that it's using the 'hp' backend, whereas the other is using CUPS 'usb' backend and should be removed.

The following should have been enough to re-enable the print queue though....
Code:
sudo cupsenable HP-LaserJet-Pro-MFP-M127fn
 
Old 10-30-2017, 07:38 PM   #13
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Quote:
Originally Posted by michaelk View Post

I'm on step 8 of the terminal install now - will report back in a few on how far it takes me. Smiles
 
Old 10-30-2017, 07:45 PM   #14
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 20.04 lts
Posts: 598

Original Poster
Rep: Reputation: 43
Well, I got to this point in terminal and apparently suffered a failure where you see *error* below:
______________________________

PRINTER SETUP
-------------
Please make sure your printer is connected and powered on at this time.
Do you want to setup printer in GUI mode? (u=GUI mode*, i=Interactive mode) : i
Running 'hp-setup -i' command....

HP Linux Imaging and Printing System (ver. 3.17.10)
Printer/Fax Setup Utility ver. 9.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

(Note: Defaults for each question are maked with a '*'. Press <enter> to accept the default.)


--------------------------------
| SELECT CONNECTION (I/O) TYPE |
--------------------------------

Num Connection Description
Type
-------- ---------- ----------------------------------------------------------
0* usb Universal Serial Bus (USB)
1 net Network/Ethernet/Wireless (direct connection or JetDirect)

Enter number 0...1 for connection type (q=quit, enter=usb*) ? 0

Using connection type: usb

error: No device selected/specified or that supports this functionality.
error: hp-setup failed. Please run hp-setup manually.


RE-STARTING HP_SYSTRAY
----------------------

HP Linux Imaging and Printing System (ver. 3.17.10)
System Tray Status Service ver. 2.0

Copyright (c) 2001-15 HP Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.

/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:127: RuntimeWarning: PyOS_InputHook is not available for interactive use of PyGTK
set_interactive(1)
michael@michael-HP-Compaq-dc5800-Small-Form-Factor:~/Desktop$

___________________________________________

Please advise on what you think I should do at this point
 
Old 10-30-2017, 07:48 PM   #15
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,805

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Unplug and reconnect the printer physically and check output of
Code:
dmesg|tail
 
  


Reply



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
Printer not printing... kern68 Linux - Hardware 2 07-02-2015 05:34 PM
Continous printing with CUPS thermal printer (GeBE USB Printer N78) ThaRez Linux - Hardware 0 04-15-2014 03:44 PM
[SOLVED] How to set printer options when printing from Linux to Windows printer r_ranasinghe69 Linux - General 2 06-27-2011 12:54 AM
HP Laserjet 2300 dn printer (Internet Printer) keeps on printing multiple copies mayurmvegad Linux - Networking 0 09-15-2008 02:35 AM
keeping printer on at bootup keeps printer from printing (some printer modules loaded TheOneAndOnlySM Slackware 1 10-17-2003 07:39 PM

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

All times are GMT -5. The time now is 02:08 PM.

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
Open Source Consulting | Domain Registration