[SOLVED] hp-toolbox not working

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] hp-toolbox not working

Postby djennings » Sep 4th, '11, 20:05

I am trying to work out why the hp-toolbox (HP Device Manager) is not seeing my printer even though it is setup and is working perfectly under cups.

When hp-toolbox tries to connect to the cups server I see this message in the cups error log
Code: Select all
Unsupported character set "iso-8859-1"


On Googling I see that cups only supports UTF8 encoding and the advice given is to change the locale to UTF8. My system is already UTF8 according to draklocale

Is anyone experiencing the same thing or have any suggestions?
Last edited by djennings on Sep 4th, '11, 22:30, edited 1 time in total.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: hp-toolbox not working

Postby doktor5000 » Sep 4th, '11, 20:31

Please show the output of
Code: Select all
locale

Could you also please try if
Code: Select all
LC_ALL=C hp-toolbox
works?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: hp-toolbox not working

Postby djennings » Sep 4th, '11, 21:22

Code: Select all
$ locale
LANG=en_GB
LC_CTYPE=en_GB
LC_NUMERIC=en_GB
LC_TIME=en_GB
LC_COLLATE=en_GB
LC_MONETARY=en_GB
LC_MESSAGES=en_GB
LC_PAPER=en_GB
LC_NAME=en_GB
LC_ADDRESS=en_GB
LC_TELEPHONE=en_GB
LC_MEASUREMENT=en_GB
LC_IDENTIFICATION=en_GB
LC_ALL=


Yes LC_ALL=C hp-toolbox works.
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: hp-toolbox not working

Postby doktor5000 » Sep 4th, '11, 21:48

locale output shows that your system is not setup as UTF-8 properly, it seems. Here it looks like that:
Code: Select all
[doktor5000@mageia1 ~]$ locale
LANG=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: hp-toolbox not working

Postby djennings » Sep 4th, '11, 22:05

Hmmm

Code: Select all
# more /etc/sysconfig/i18n
LC_TELEPHONE=en_GB.UTF-8
LC_CTYPE=en_GB.UTF-8
LANGUAGE=en_GB.UTF-8:en_GB:en
LC_MONETARY=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_COLLATE=en_GB.UTF-8
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_NUMERIC=en_GB.UTF-8
SYSFONT=lat0-16
LC_MEASUREMENT=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LANG=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_MESSAGES=en_GB.UTF-8



So if /etc/sysconfig/i18n says I am using UTF-8 why does the locale command not show the same?
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK

Re: [Solved]hp-toolbox not working

Postby djennings » Sep 4th, '11, 22:31

OK found it. There was an old ~/.i18n file setting the locale to en_GB
Deleted it and now everything is OK
Thanks for the pointer
User avatar
djennings
 
Posts: 613
Joined: Jun 2nd, '11, 23:51
Location: Wokingham, UK


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest