Salix 13.0 + Hplip + Qt4 ? [Solved]

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Salix 13.0 + Hplip + Qt4 ?

Post by gapan »

The only way this could be happening, since you compiled hplip from source and not have the package installed, is if you had qt installed during compiling hplip and you removed it afterwards.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Salix 13.0 + Hplip + Qt4 ?

Post by Sybelius »

@ Gapan: - Well, I am going to uninstall that package; I will inform you about what will comes out after following yours and Shador's teaching.

@ Shador: - I have been installing the new hplip package because I read somewhere that getting issues with the version 3.9.x should be useful to try the latest version.

About "Qt" seems that hplip needing a version "interactive" (or something like that); so, I have been thinking that "Qt" already installed on the system, are not enough.
I have been trying to get the right one looking on Google, but due my lack of experience, I dont understand if the links I got talking about "Qt SDK" or "Qt libraries 4.5" are the right one; the links are:
http://www.bernardotti.it/portal/showth ... p?t=115048
http://qt.nokia.com/downloads/sdk-linux-x11-32bit-cpp

I am a bit embarrassed with these questions of mine, I am just trying to get my Salix working properly. Ciao
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Salix 13.0 + Hplip + Qt4 ?

Post by Sybelius »

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:
slapt-get -u; slapt-get -i hplip
Hi Shador,

Done.

Code: Select all

I seguenti NUOVI pacchetti saranno installati:
  hplip 
0 aggiornati, 1 installati, 0 da rimuovere e 0 non aggiornati.
Da scaricare 0,0kB/8,9MB di archivi.
Dopo lo spacchettamento saranno utilizzati 35,6MB addizionali di spazio sul disco.

Preparazione dell'installazione hplip-3.9.4b-i486-4gv
Installing package hplip-3.9.4b-i486-4gv...
| hplip (HP print/scan/fax support)
| 
| HPLIP is an HP developed solution for printing, scanning, and faxing
| with HP inkjet and laser based printers in Linux.  The HPLIP project
| provides printing support for more than 1400 HP printer models,
| including Deskjet, Officejet, Photosmart, PSC (Print Scan Copy),
| Business Inkjet, LaserJet, and LaserJet MFP.
| 
| For more information, see: http://hplipopensource.com
Fatto
root[dominum]# 

file:///var/log/packages/hplip-3.9.4b-i486-4gv
The "Hp Device Manager menu's list icon (Accessories / Hp Device Manager) disappeared, but running "hp-setup -i" it works.
So, if I am not wrong, the package is correctly installed, but it is useful just if I need to set up the printer (which is already set up).
I dont have option to check the ink level or information about the printer; if that is the way, just meaning that on Linux distros are not available all controls (ink level, etc), everything is in order.

Maybe due the language barrier I did not been able to write properly the question: going back at beginning of the thread, I was asking:
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 ?
Meaning that I was asking if needing to install something ("Qt4" or whatever), to get all Hp Device Manager's features available; as in Windows, in other words. :roll:
Moreover, trying to apply jbs1136's teaching, running "hp-systray" (located in /usr/bin), I got this one:

Code: Select all

dominum[~]$ hp-systray

HP Linux Imaging and Printing System (ver. 3.9.4b)
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[~]$ 
That is way I was thinking necessary to install something. :) Ciao

EDIT
I found something...... 8-) jbs1136's teaching is a bit uncareful: is not "hp-systray" the command to run (at least on my machine); just talking about ink level, the right command to run is "hp-levels". look at this one: :D

Code: Select all

dominum[~]$ hp-levels

HP Linux Imaging and Printing System (ver. 3.9.4b)
Supply Levels Utility 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.

Using device: hp:/usb/Officejet_6500_E709a?serial=MY99C3X01805G3


HP Linux Imaging and Printing System (ver. 3.9.4b)
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.
warning: Unable to connect to dbus. Is hp-systray running?

error: 1: agent_type 1 agent_kind 2 agent_sku '04/04XL'
error: 2: agent_type 4 agent_kind 2 agent_sku '04/04XL'
error: 3: agent_type 5 agent_kind 2 agent_sku '04/04XL'
error: 4: agent_type 6 agent_kind 2 agent_sku '04/04XL'
Black ink cartridge
Part No.: 04/04XL
Health: Good/OK

----------------------------------------------------------------
|////////////////////////////////                              | (approx. 50%)
----------------------------------------------------------------

Cyan ink cartridge
Part No.: 04/04XL
Health: Good/OK

----------------------------------------------------------------
|//////////////////////////////////////                        | (approx. 60%)
----------------------------------------------------------------

Magenta ink cartridge
Part No.: 04/04XL
Health: Good/OK

----------------------------------------------------------------
|//////////////////////////////////////                        | (approx. 60%)
----------------------------------------------------------------

Yellow ink cartridge
Part No.: 04/04XL
Health: Good/OK

----------------------------------------------------------------
|///////////////////////////////////////////////////           | (approx. 80%)
----------------------------------------------------------------


Done.

I have to learn to be more resolute about discovering issue's solution myself :geek:
Please, be patient, over there :D Ciao
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Salix 13.0 + Hplip + Qt4 ? [Solved]

Post by gapan »

Sybellius, I think we have misunderstood each other.

If you want the qt hplip interface to work, the package from salix will not work for you. But the package from slackware will. Do a

Code: Select all

slapt-get -i hplip-3.9.4b-i486-2.txz
to replace the salix package with the slackware one. If you do that, add the hplip package in the EXCLUDE list in gslapt.

You should also probably install the qt and PyQt packages as the error message that you posted suggests.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: Salix 13.0 + Hplip + Qt4 ? [Solved]

Post by Sybelius »

Hi Gapan,

Thank You very much for your infinite patience and precious support.
I have been recording your teaching. Ciao :)
Post Reply