hp-setup and hp-toolbox fail with foreign charsets
I had an Officejet Pro L7580 (connected via Ethernet) to install on Kubuntu 8.04 (jplip 2.8.2) and it didn't work. hp-setup could not automatically find the correct PPD (although the file /usr/share/
After some searching, I looked into the debugging output. hp-setup said »hp-setup[12312]: debug: addPrinter() returned (1, client-
So I found the reason of my problems. hp-setup could not communicate with CUPS using my locale. Whenever it tried (by querying the PPDs or installing the printer), CUPS rejected it.
Setting LC_ALL=C helped and hp-setup installed the printer smoothly.
Of course, with hp-toolbox it's the same. Using my default locale it tells me that there are no printers installed. Starting it via »LC_ALL=C hp-toolbox« and suddenly the printer is found.
(See also: https:/
I'm not sure if this is the fault of hplip or cups (though lpr and other tools work fine). But perhaps you might want to take a closer look at it. Maybe hplip should override LC_ALL by default when talking with CUPS.
Even if CUPS is to blame, this message may be helpful to those having the same problem.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- HPLIP Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Malte Wetz for more information if necessary.