LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-07-2019, 08:12 AM   #31
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 above implies that the printer configuration has already been removed. You can check that with
Code:
lpstat -t
I have no idea why the hp-setup isn't found. It's supplied as part of the hplip package.

You can check the installed files with
Code:
dpkg -L hplip

michael@michael-HP-EliteDesk-800-G1-SFF:~$ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
michael@michael-HP-EliteDesk-800-G1-SFF:~$ clear

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: usb://HP/LaserJet%20Pro%20MFP%20M127fn?serial=CNB9H7FDXQ&interface=1
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 Sun 07 Apr 2019 08:44:05 AM 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 is idle. enabled since Sun 07 Apr 2019 08:44:05 AM EDT
Rendering completed
printer HP-LaserJet-Pro-MFP-M127fn-Fax-2 is idle. enabled since Sat 10 Mar 2018 11:46:35 AM EST
HP-LaserJet-Pro-MFP-M127fn-238 michael 125952 Sun 07 Apr 2019 08:43:56 AM EDT
michael@michael-HP-EliteDesk-800-G1-SFF:~$ dpkg -L hplip
/.
/etc
/etc/dbus-1
/etc/dbus-1/system.d
/etc/dbus-1/system.d/com.hp.hplip.conf
/usr
/usr/bin
/usr/bin/hp-plugin-ubuntu
/usr/lib
/usr/lib/cups
/usr/lib/cups/backend
/usr/lib/cups/backend/hp
/usr/lib/cups/backend/hpfax
/usr/lib/cups/driver
/usr/lib/cups/driver/hplip
/usr/lib/cups/filter
/usr/lib/cups/filter/hpps
/usr/lib/cups/filter/pstotiff
/usr/lib/python3
/usr/lib/python3/dist-packages
/usr/lib/python3/dist-packages/cupsext.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/hpmudext.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/pcardext.cpython-36m-x86_64-linux-gnu.so
/usr/lib/python3/dist-packages/scanext.cpython-36m-x86_64-linux-gnu.so
/usr/share
/usr/share/bug
/usr/share/bug/hplip
/usr/share/bug/hplip/presubj
/usr/share/bug/hplip/script
/usr/share/cups
/usr/share/cups/mime
/usr/share/cups/mime/pstotiff.convs
/usr/share/cups/mime/pstotiff.types
/usr/share/dbus-1
/usr/share/dbus-1/system-services
/usr/share/dbus-1/system-services/com.hp.hplip.service
/usr/share/doc
/usr/share/doc/hplip
/usr/share/doc/hplip/NEWS.Debian.gz
/usr/share/doc/hplip/copyright
/usr/share/doc/hplip/users-guide.txt
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/hp-align.1.gz
/usr/share/man/man1/hp-check.1.gz
/usr/share/man/man1/hp-clean.1.gz
/usr/share/man/man1/hp-colorcal.1.gz
/usr/share/man/man1/hp-config_usb_printer.1.gz
/usr/share/man/man1/hp-doctor.1.gz
/usr/share/man/man1/hp-firmware.1.gz
/usr/share/man/man1/hp-info.1.gz
/usr/share/man/man1/hp-levels.1.gz
/usr/share/man/man1/hp-logcapture.1.gz
/usr/share/man/man1/hp-makeuri.1.gz
/usr/share/man/man1/hp-pkservice.1.gz
/usr/share/man/man1/hp-plugin.1.gz
/usr/share/man/man1/hp-probe.1.gz
/usr/share/man/man1/hp-query.1.gz
/usr/share/man/man1/hp-scan.1.gz
/usr/share/man/man1/hp-setup.1.gz
/usr/share/man/man1/hp-testpage.1.gz
/usr/share/man/man1/hp-timedate.1.gz
/usr/share/polkit-1
/usr/share/polkit-1/actions
/usr/share/polkit-1/actions/com.hp.hplip.policy
/var
/var/lib
/var/lib/hp
/var/log
/var/log/hp
/var/log/hp/tmp
/usr/bin/hp-align
/usr/bin/hp-check
/usr/bin/hp-clean
/usr/bin/hp-colorcal
/usr/bin/hp-config_usb_printer
/usr/bin/hp-doctor
/usr/bin/hp-firmware
/usr/bin/hp-info
/usr/bin/hp-levels
/usr/bin/hp-logcapture
/usr/bin/hp-makeuri
/usr/bin/hp-pkservice
/usr/bin/hp-plugin
/usr/bin/hp-probe
/usr/bin/hp-query
/usr/bin/hp-scan
/usr/bin/hp-setup
/usr/bin/hp-testpage
/usr/bin/hp-timedate
/usr/share/doc/hplip/changelog.Debian.gz
michael@michael-HP-EliteDesk-800-G1-SFF:~$
 
Old 04-07-2019, 03:19 PM   #32
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
It's perplexing - hplip is supposedly installed, yet the files are not present?
Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
 
Old 04-07-2019, 10:29 PM   #33
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
It's perplexing - hplip is supposedly installed, yet the files are not present?
Code:
michael@michael-HP-EliteDesk-800-G1-SFF:~$ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
Where do we go from here?

Is there a command to install hplip so files will be present?
 
Old 04-08-2019, 12:20 AM   #34
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
Do this
Code:
sudo apt-get install hplip
 
Old 04-08-2019, 12:24 AM   #35
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
I found your earlier thread asking about how to remove/purge hplip...

https://www.linuxquestions.org/quest...it-4175625762/
 
Old 04-08-2019, 08:15 PM   #36
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
Do this
Code:
sudo apt-get install hplip
ok I purged hplip and then installed it again, rebooted the computer, and it still won't print. It says the status of the print job is "stopped."

Any other ideas?
 
Old 04-08-2019, 09:35 PM   #37
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
1) So, can you confirm that you were able to configure 'hp-setup' successfully?

You already know how to re-enable the printer using the 'cupsenable' command.

2) As part of the diagnostic process, you're going to need to examine /var/log/cups/error_log to look for errors that are logged related to the print job failure.

Usually, it is advisable to increase logging verbosity (more logging information recorded) with
Code:
sudo cupsctl --debug-logging
then send a simple print job, and look for errors (using a text editor for example).

The error_log file can be lengthy, so a good idea to remove it before attempting to trawl through it for diagnostic purposes IMHO. That can be done with
Code:
sudo rm -f /var/log/cups/error_log
then restart CUPS
Code:
sudo /etc/init.d/cups restart
or if using systemd (eg recent version of Ubuntu)
Code:
sudo systemctl restart cups
then begin your diagnostic printing and examination of the CUPS error log.

3) If you need to share the error_log here, the best idea is to copy/paste to https://pastebin.com/ and post the link that it generates here. We can then review the uploaded output for further advise.
 
Old 04-10-2019, 12:33 AM   #38
Michael Piziak
Member
 
Registered: Feb 2015
Distribution: Ubuntu 14.04 lts
Posts: 253

Original Poster
Rep: Reputation: Disabled
[QUOTE=ferrari;5982703]1) So, can you confirm that you were able to configure 'hp-setup' successfully?

You already know how to re-enable the printer using the 'cupsenable' command.

Before I go further, I wasn't successful re-enabling the printer with the local cups website. What command in terminal can I use to re-enable it?
 
Old 04-10-2019, 01:16 AM   #39
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 3,637

Rep: Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632Reputation: 632
As you did in post #18....
 
  


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 09:50 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration