LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-29-2009, 05:29 AM   #1
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Rep: Reputation: 15
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 ?
printconf_tui.startup_and_find_cmd()
File "/usr/share/printconf/util/printconf_tui.py", line 2413, in startup_and_find_cmd
main.cmd_handlers[cmd]()
File "/usr/share/printconf/util/printconf_tui.py", line 1994, in tui_main_run
qld_run()
File "/usr/share/printconf/util/printconf_tui.py", line 1881, in qld_run
qed_run(queue_dict)
File "/usr/share/printconf/util/printconf_tui.py", line 891, in qed_run
qed_ded_run()
File "/usr/share/printconf/util/printconf_tui.py", line 1515, in qed_ded_run
qed_ded_eod_run()
File "/usr/share/printconf/util/printconf_tui.py", line 1559, in qed_ded_eod_run
apply(funcs[option_list[index][0]], option_list[index][1:])
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

Rewgards,
Amit
 
Old 07-31-2009, 06:19 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
May be better use 'cups' for the setup.
'system-config-printer' seems unable to handle it.

Just click this link :
http://localhost:631/
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.
.....
 
Old 07-31-2009, 06:55 AM   #3
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
May be better use 'cups' for the setup.
'system-config-printer' seems unable to handle it.

Just click this link :
http://localhost:631/
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.
.....
I m using LaserJet printer.

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.

Regards,
Amit
 
Old 08-02-2009, 07:10 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,938

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
Which 'localisation' is used ? UTF8 or non UTF8 ?
May be the printer is confused by some contradicting
localisation settings.

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.
.....

Last edited by knudfl; 08-02-2009 at 07:11 AM.
 
Old 08-04-2009, 12:34 AM   #5
amit_pansuria
Member
 
Registered: Sep 2006
Posts: 73

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by knudfl View Post
Which 'localisation' is used ? UTF8 or non UTF8 ?
May be the printer is confused by some contradicting
localisation settings.

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.
.....
Hello

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?

Regards,
Amit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
system-config-printer jmdlcar Slackware 7 09-30-2008 02:29 AM
pycups & system-config-printer jmdlcar Slackware 1 06-10-2008 03:55 AM
system-config-printer returns Index Error vishudh Linux - Newbie 1 02-23-2008 09:31 PM
an error installing system-config-printer-gui-0.6.116.5-1 q0987 Linux - Enterprise 2 01-11-2007 06:41 AM
system-config-printer config file(s) frenkiel Linux - Software 0 06-06-2006 07:41 AM


All times are GMT -5. The time now is 05:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration