HPLIP HP OfficeJet Pro 8630[SOLVED]

Forum rules
Before you post please read this
User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 12:18 am

rogier@123456 ~ $ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
rogier@123456 ~ $
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: HPLIP HP OfficeJet Pro 8630

Post by pdc_2 » Tue Jun 12, 2018 1:32 am

can you try

Code: Select all

cd /usr/bin
then

Code: Select all

ls
.... as you did before .... and it should show hp-setup

then

Code: Select all

hp-setup

octathlon
Level 2
Level 2
Posts: 60
Joined: Sat Jun 28, 2014 3:14 pm

Re: HPLIP HP OfficeJet Pro 8630

Post by octathlon » Tue Jun 12, 2018 2:40 am

vliscony wrote:
Tue Jun 12, 2018 12:18 am
rogier@123456 ~ $ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
rogier@123456 ~ $
You can try to find it with the command

Code: Select all

whereis hp-setup
Mint 17 Cinnamon 64bit on Dell Inspiron N7110 Dual core Intel Core i5-2450M
Mint 19 XFCE 64bit on System76 Pangolin Intel Core 2 duo
Full-time Linux user since 2007, Mint since 2014

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 5:51 am

rogier@123456 ~ $ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory

rogier@123456 /usr/bin $ hp-setup
The program 'hp-setup' is currently not installed. You can install it by typing:
sudo apt install hplip

but when I do an ls the hp files all show up...:

hostnamectl tdbdump
hp-align tdbrestore
hp-check tdbtool
hp-check-plugin tee
hp-clean telnet
hp-colorcal telnet.netkit
hp-config_usb_printer test
hp-devicesettings testparm
hp-diagnose_plugin tgatoppm
hp-diagnose_queues tgz
hp-doctor thin-client-config-agent
hp-fab thinkjettopbm
hp-faxsetup thresholder
hp-firmware thresholder.py
hp-info thunderbird
hp-levels tic
hp-linefeedcal tifftopnm
hp-logcapture tificc
hp-makecopies time
hp-makeuri timedatectl
hp-pkservice timeout
hp-plugin timeshift
hp-plugin-ubuntu timeshift-gtk
hp-pqdiag timeshift-launcher
hp-print timeshift-uninstall
hp-printsettings tkconch
hp-probe tload
hp-query tnameserv
hp-scan toe
hp-sendfax top
hp-setup toshset
hp-systray touch
hp-testpage tput
hp-timedate tr
hp-toolbox tracepath
hp-uninstall tracepath6
hp-unload traceroute6
hp-upgrade traceroute6.iputils
hp-wificonfig transicc
i386 transmission-gtk
i686-linux-gnu-
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 2:33 pm

rogier@123456 ~ $ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
rogier@123456 ~ $
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 2:35 pm

rogier@123456 ~ $ whereis hp-setup
hp-setup: /usr/bin/hp-setup /usr/share/man/man1/hp-setup.1.gz
rogier@123456 ~ $

and again:

rogier@123456 ~ $ cd /usr/bin
rogier@123456 /usr/bin $ hp-setup
The program 'hp-setup' is currently not installed. You can install it by typing:
sudo apt install hplip
rogier@123456 /usr/bin $
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: HPLIP HP OfficeJet Pro 8630

Post by pdc_2 » Tue Jun 12, 2018 2:56 pm

If you use the GUI to navigate to inside the bin directory: to see the image of hp-setup;

if you right-click on it, select run in terminal; does it run?
Attachments
run.png

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 5:17 pm

Ok so I navigate to /usr/bin with the windows, and then the hp... files do show up... but when I click on hp-setup it reports the link is broken.

same thing for hp-check...
Last edited by vliscony on Tue Jun 12, 2018 6:30 pm, edited 1 time in total.
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: HPLIP HP OfficeJet Pro 8630

Post by pdc_2 » Tue Jun 12, 2018 5:22 pm

so from a terminal if you do

Code: Select all

cd /usr/bin
..... that should get you inside the bin directory

and if you do

Code: Select all

ls
.... that should list what is in that directory; make the terminal full-screen before you do it ...... does hp-setup and hp-check appear in that terminal?

User avatar
Moem
Level 17
Level 17
Posts: 7204
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by Moem » Tue Jun 12, 2018 5:25 pm

vliscony wrote:
Tue Jun 12, 2018 5:17 pm
if I get correctly what you mean, I navigate with the file folders, first to the file system and then to the "bin" directory.
You understood right, only the thing is that the correct 'bin' directory is inside of the 'usr' directory.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 6:32 pm

sorry, yes, I took the wrong /bin the first time... so now we have some answers... for some reason those links are broken... what's to do now?
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 6:55 pm

rogier@123456 /usr/bin $ hp-setup
The program 'hp-setup' is currently not installed. You can install it by typing:
sudo apt install hplip
rogier@123456 /usr/bin $ sudo apt install hplip
[sudo] password for rogier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
hplip is already the newest version (3.16.3+repack0-1).
The following packages were automatically installed and are no longer required:
libgsm1:i386 libpcap0.8:i386 wine-devel-amd64 wine-devel-i386:i386
Use 'sudo apt autoremove' to remove them.


so that does not work... seems to me that I should first delete all those hp-??? files? No?
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: HPLIP HP OfficeJet Pro 8630

Post by pdc_2 » Tue Jun 12, 2018 8:32 pm

if you go back to what you started a couple of posts up: can you find your way from /usr and then get inside the /bin ... that is in /usr .....and inside /bin, can you see a hp-setup icon? If you can, I wonder what happens if you right-click and select "run in terminal" ....... if no joy you have downloaded the latest hplip so we can see about installing that ...........

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 10:35 pm

If I try that, here's what I get:

quote
The Link "hp-setup" is Broken. Move it to Trash?

This link cannot be used, because its target "../share/hplip/setup.py" doesn't exist.

Cancel Move to trash

unquote

but if I do try to move to trash, permission is denied.
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Tue Jun 12, 2018 10:46 pm

Ok, I just deleted all the hp-* files from /usr/bin with sudo rm hp-*

then:
rogier@123456 ~ $ apt install hplip
[sudo] password for rogier:
Reading package lists... Done
Building dependency tree
Reading state information... Done
hplip is already the newest version (3.16.3+repack0-1).
0 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
rogier@123456 ~ $ hp-check
The program 'hp-check' is currently not installed. You can install it by typing:
sudo apt install hplip
rogier@123456 ~ $

feel like I am going around in circles...
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

pdc_2
Level 8
Level 8
Posts: 2411
Joined: Mon May 11, 2009 1:21 am

Re: HPLIP HP OfficeJet Pro 8630

Post by pdc_2 » Wed Jun 13, 2018 4:48 am

I suspect you need to remove hplip and install the newer version; not just remove, purge ..

if you do

Code: Select all

sudo apt purge hplip
as discussed here ......... http://installion.co.uk/ubuntu/xenial/m ... index.html

that should cleanse things;

you may as well put in the latest 3.18.6 from here https://developers.hp.com/hp-linux-imag ... g/gethplip

if you click to download and save, it should end up in your Downloads folder; (whereas HP (wrongly) feel it will end up on your desktop ............)

so the commands would be

Code: Select all

cd Downloads
check with

Code: Select all

ls
if you want;

then

Code: Select all

sh hplip-3.18.6.run
should run the install script;

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630

Post by vliscony » Wed Jun 13, 2018 8:17 am

something does not want to work...

the 3.18.6 run file is causing problems:

q
There was a problem opening the file /home/rogier/Downloads/hplip-3.18.6.run

The file you opened has some invalid characters. If you continue editing this file you could corrupt this document.
You can also choose another character encoding and try again.
unq

so I tried it again...
There was a problem opening the file /home/rogier/Downloads/hplip-3.18.6(1).run

it defaults to automatic selection of character encoding, but it gives you the choice of manual selection... which did not solve anything...

etc...

in short, I ended up reinstalling hplip-3.16.11.run instead and it is presently running... removing and installing...

and that ended as follows:

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

HP Linux Imaging and Printing System (ver. 3.16.11)
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)
"sni-qt/17531" WARN 08:41:43.269 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE

regardless of all that. the end result is that I now have a second entry for the printer. It would not recognize the wireless connection, so I reconnected it via USB and restarted the printer, and from then on it recognized the printer just fine.
Now my only remaining question is how I remove those bum printer definitions ;-)

Mystified how come it worked for more than a year, and suddenly lost it completely.
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

User avatar
Ozo
Level 5
Level 5
Posts: 765
Joined: Tue Dec 22, 2015 11:49 am
Location: Titusville, Florida USA

Re: HPLIP HP OfficeJet Pro 8630

Post by Ozo » Wed Jun 13, 2018 11:41 am

Remove the earlier version as it can cause problems. Do this in System Settings/Printers. Clickt Printer at the top and then on the dropdown click on the printer you wish to delete, select "Delete"

User avatar
vliscony
Level 3
Level 3
Posts: 104
Joined: Thu Jan 05, 2017 7:07 pm
Location: Bronx, NY
Contact:

Re: HPLIP HP OfficeJet Pro 8630[SOLVED]

Post by vliscony » Wed Jun 13, 2018 3:26 pm

Wow, thanks so much, that finished it up.

The only remaining mystery is why my hplip ended up getting corrupted. To a lesser degree, why the newer version of hplip blew up on me...

I guess I always like to have ALL the answers ;-) eventually you usually always figure it out.
LM18.3 with 4.13 kernel, ZaReason Valta xi991, Intel Core i-7 6 core, 64 GB RAM; Radeon RX480 8GB; SSD 500 GB; HD 2x 2TB/8GB cache; CD/DVD RW, Blu-ray/DVD/CD burner; HP Officejet Pro 8630

User avatar
Ozo
Level 5
Level 5
Posts: 765
Joined: Tue Dec 22, 2015 11:49 am
Location: Titusville, Florida USA

Re: HPLIP HP OfficeJet Pro 8630[SOLVED]

Post by Ozo » Wed Jun 13, 2018 3:42 pm

vliscony wrote:
Wed Jun 13, 2018 3:26 pm
Wow, thanks so much, that finished it up.

The only remaining mystery is why my hplip ended up getting corrupted. To a lesser degree, why the newer version of hplip blew up on me...

I guess I always like to have ALL the answers ;-) eventually you usually always figure it out.
If you do not like the answers you get look long and hard and you may eventually find an answer you will like. :wink:

Post Reply

Return to “Printers & Scanners”