system-config-printer error when configuring the printer for other language(Chinse)
I have system-config-printer-0.6.116.5-1 version installed on my RHEL system(which is customized o.s.)
Now when I configure and select a driver zh_CN for chinese .
when I presss save and then exit I got the following error message
Traceback (most recent call last):
File "/usr/sbin/system-config-printer", line 12, in ?
File "/usr/share/printconf/util/printconf_tui.py", line 2413, in startup_and_find_cmd
File "/usr/share/printconf/util/printconf_tui.py", line 1994, in tui_main_run
File "/usr/share/printconf/util/printconf_tui.py", line 1881, in qld_run
File "/usr/share/printconf/util/printconf_tui.py", line 891, in qed_run
File "/usr/share/printconf/util/printconf_tui.py", line 1515, in qed_ded_run
File "/usr/share/printconf/util/printconf_tui.py", line 1559, in qed_ded_eod_run
File "/usr/share/printconf/util/printconf_tui.py", line 1675, in qed_ded_eod_enum_editor
local_form = GridForm(main.screen, qed.driver.eod.opt.title % label, 1, 2)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 3: ordinal not in range(128)
Please suggest me what to do
May be better use 'cups' for the setup.
'system-config-printer' seems unable to handle it.
Just click this link :
to get the "Common UNIX Printing System .. "
And next click 'Add Printer'
If you want further help, please tell which printer,
you are trying to set up. All details, please.
My observion is when my system local setting is
LC_ALL=zh_CN.eucCN (chinse setting)
at that time above error occurs
when My system setting is
LC_ALL=POSIX it will not give any error.
But I want to set LC_ALL=zh_CN.eucCN and take a print of chinese char file
but it will give garbled chinese char. I mean chinse character is not printed properly.
Which 'localisation' is used ? UTF8 or non UTF8 ?
May be the printer is confused by some contradicting
Which LaserJet ? Brand_________type__________
( like HP LaserJet 1100 )
Which Redhat EL ? Redhat EL________
EL 4 ? EL 5 ?
Some printers use Ghostscript, and thus requires
ghostscript fonts installed. What have you got ?
Those are the only hints, I can think of today.
I m using LaserJet (Jetdirect Printer avpun-HP4250)with RHEL 4 update version(4.4) .
Now My problem is when my setting is LC_ALL=POSIX then it will give print
but chinse fonts are garbled.
when LC_ALL=zh_CN.eucCN it will not working. I mean it will not print a page.
Is there any thing I m missing?
|All times are GMT -5. The time now is 12:40 PM.|