Page 1 of 2

Salix 13.0 + Hplip + Qt4 ? [Solved]

Posted: 8. May 2010, 10:24
by Sybelius
Hi All,

I should like to know your point of view about what I have been experiencing:
- I got my printer Hp Officejet 6500 working after installing the latest version of hplip (3.10.2), but clicking on the menu's list icon (Accessories / Hp Device Manager), the program does not starting; I got the printer configured through the terminal, with the command "hp-setup -i" (possible to get the same result from browser, going to:
http://localhost:631
"Cups", I suppose).
Wishing to find out, if I am not wrong, I have been reading that Hp device Manager needing Qt4; meaning that I have to install "Qt SDK" (or Qt libraries 4.5) ?
For instance: I should like to see the ink level on the screen (now I get it from printer's display).
Do you know something about ?

Thank you for your kind attention, ciao

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 8. May 2010, 12:07
by gapan
Which hplip package do you have installed?

Code: Select all

ls /var/log/packages/hplip-*
The salix package should not have a menu entry for the HP device manager anyway. For checking the ink level, I suggest you install inkblot.

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 9. May 2010, 16:22
by jbs1136
If you want more info about your printer you can run hp-systray located in /usr/bin. This will give you the device manager in your notification area. Right click and select Device Manager. There are five tabs, the third is supplies. You can also set this up to start when you login. I don't because I don't use the printer that often but I did for a while and it does work.

Hope this helps,

john

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 9. May 2010, 17:24
by Sybelius
gapan wrote:Which hplip package do you have installed?

Code: Select all

ls /var/log/packages/hplip-*
Hi Gapan,

I have been downloading / installing this package:

Code: Select all

hplip-3.10.2.tar.gz
I dont know if I do mistake, but that command does not working, I did some attempts without any result, this is the output:

Code: Select all

dominum[~]$ ls /var/log/packages/hplip-*
ls: impossibile accedere a /var/log/packages/hplip-*: No such file or directory
dominum[~]$ su
Password: 
root[dominum]# ls /var/log/packages/hplip-*
ls: impossibile accedere a /var/log/packages/hplip-*: No such file or directory
root[dominum]# ls /var/log/packages/hplip-3.10.2
ls: impossibile accedere a /var/log/packages/hplip-3.10.2: No such file or directory
root[dominum]# ls /var/log/packages/hplip-*
ls: impossibile accedere a /var/log/packages/hplip-*: No such file or directory
root[dominum]# exit
exit
dominum[~]$ ls /var/log/packages/hplip-*
ls: impossibile accedere a /var/log/packages/hplip-*: No such file or directory
dominum[~]$ 
I f I go manually to /var/log/packages, I dont see any hplip package :shock: :?:
The salix package should not have a menu entry for the HP device manager anyway. For checking the ink level, I suggest you install inkblot.
Unfortunately, Inkblot does not supporting the printer Hp Officejet 6500.

Ciao :)

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 9. May 2010, 17:30
by Sybelius
jbs1136 wrote:If you want more info about your printer you can run hp-systray located in /usr/bin.
Hi John,

Thank you for your kind concern, but something is wrong, look at the output:

Code: Select all

dominum[~]$ hp-systray

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

Copyright (c) 2001-9 Hewlett-Packard 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.

warning: Qt/PyQt 4 initialization failed.
error: hp-systray requires Qt4 GUI and DBus support. Exiting.
dominum[~]$ 
Ciao :)

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 9. May 2010, 17:45
by gapan
Sybelius, what you posted shows that you do not have the hplip package installed. You seem to have compiled hplip from source. In which case, it only works with whatever options you have compiled it with. So, I don't understand how you have compiled it with support for qt, if you don't have qt installed.

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 9. May 2010, 18:06
by Sybelius
gapan wrote:Sybelius, what you posted shows that you do not have the hplip package installed.So, I don't understand how you have compiled it with support for qt, if you don't have qt installed.
Hi Gapan,

I am embarrassed; I was supposing that hplip is not installed, looking at that output, but the printer is working.
Sorry, I dont understand :oops:
I have been installing hplip following this teaching:
http://hplipopensource.com/hplip-web/in ... kware.html

Ciao

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 9. May 2010, 18:28
by gapan
Hplip is installed. But, it's not the hplip package that is installed. You have compiled hplip from source. There is a difference there. And since you compiled it from source and support for qt has been included, it would seem that you already have qt installed and the frontend would run anyway. And I don't see where the problem is.

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 10. May 2010, 18:20
by Sybelius
gapan wrote:And I don't see where the problem is.
Hi Gapan,

The problem is that running Salix / Accessories / HP Device Manager, nothing comes out. Ciao

Re: Salix 13.0 + Hplip + Qt4 ?

Posted: 10. May 2010, 18:33
by Shador
gapan wrote:Hplip is installed. But, it's not the hplip package that is installed.
You did a third-party installation. In that case we don't have any influence on correct decisions regarding version and the build process, especially the build flags. I don't see any reason why we should support custom builds when they don't offer anything over our packages. In fact that only means additional unnecessary work for us and is completely redundant.
Please, uninstall that version of hplip. Running make uninstall inside the directory you built in should work.
Then install the official Salix hplip package using the package management. For example using:

Code: Select all

slapt-get -u; slapt-get -i hplip