Page 2 of 3

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 12:18 am
by vliscony
rogier@123456 ~ $ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
rogier@123456 ~ $

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 1:32 am
by pdc_2
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

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 2:40 am
by octathlon
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

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 5:51 am
by vliscony
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-

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 2:33 pm
by vliscony
rogier@123456 ~ $ /usr/bin/hp-setup
bash: /usr/bin/hp-setup: No such file or directory
rogier@123456 ~ $

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 2:35 pm
by vliscony
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 $

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 2:56 pm
by pdc_2
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?

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 5:17 pm
by vliscony
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...

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 5:22 pm
by pdc_2
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?

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 5:25 pm
by Moem
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.

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 6:32 pm
by vliscony
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?

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 6:55 pm
by vliscony
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?

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 8:32 pm
by pdc_2
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 ...........

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 10:35 pm
by vliscony
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.

Re: HPLIP HP OfficeJet Pro 8630

Posted: Tue Jun 12, 2018 10:46 pm
by vliscony
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...

Re: HPLIP HP OfficeJet Pro 8630

Posted: Wed Jun 13, 2018 4:48 am
by pdc_2
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;

Re: HPLIP HP OfficeJet Pro 8630

Posted: Wed Jun 13, 2018 8:17 am
by vliscony
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.

Re: HPLIP HP OfficeJet Pro 8630

Posted: Wed Jun 13, 2018 11:41 am
by Ozo
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"

Re: HPLIP HP OfficeJet Pro 8630[SOLVED]

Posted: Wed Jun 13, 2018 3:26 pm
by vliscony
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.

Re: HPLIP HP OfficeJet Pro 8630[SOLVED]

Posted: Wed Jun 13, 2018 3:42 pm
by Ozo
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: