Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-22-2004, 02:57 PM   #1
LQ Newbie
Registered: Apr 2004
Distribution: Red Hat 9.0
Posts: 6

Rep: Reputation: 0
Unhappy Printer configuration does not work

I'm a newbie running RH 9. Installed Samsung ML 1710 that works fine (driver came with printer)
The problem is, I want to share this printer with other computer in the network.
As far as the network set up, there's no problem.
But when I try to access Printer Configuration (redhat-config-printer) to set up the sharing, the printer configuration window open for one second and disappeared.
This is the msg that I got when I run the command through terminal:

$ redhat-config-printer
Traceback (most recent call last):
File "/usr/sbin/redhat-config-printer", line 9, in ?
import queueTree
File "/usr/share/printconf/util/", line 927, in ?
File "/usr/share/printconf/util/", line 101, in __init__
if cups_import.import_needed ():
File "/usr/share/printconf/util/", line 200, in import_needed
which = which_spooler ()
File "/usr/share/printconf/util/", line 191, in which_spooler
which = l.split ('.')[1].strip ()
IndexError: list index out of range

Is there anyway I can share this printer without going through printer-conf? Plus, what is going on with the printer config?!!?

Old 09-25-2004, 09:35 AM   #2
LQ Newbie
Registered: Oct 2002
Location: Montreal
Distribution: Tao Linux release 4
Posts: 7

Rep: Reputation: 0
A simple solution

I had the same problem with Tao Linux, a RedHat Enterprise Linux clone. For my system, the solution was to set the locale $LANG to "C" before launching redhat-config-printer:

(root@patsilou:root)# export LANG="C"
(root@patsilou:root)# redhat-config-printer

If it doesn't work for you, a reinstallation of cups and cups-libs may do the job:

(root@patsilou:root)# rpm -e --nodeps cups cups-libs
(root@patsilou:root)# yum install cups cups-libs
(root@patsilou:root)# up2date cups cups-libs

Patrice Guay

Last edited by isotrope; 09-25-2004 at 10:11 AM.
Old 12-11-2004, 11:46 AM   #3
LQ Newbie
Registered: Dec 2004
Posts: 2

Rep: Reputation: 0
the solution: export LANG="C" working also on RH ES30 ( I tryed setting the variable after reinstalling the packages )
Thank you!


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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Configuration: "Print file sent, waiting for printer to finish", JetDirect Ed-MtnBiker Fedora 3 02-23-2007 12:41 PM
printer configuration hariiyer Linux - Networking 4 07-27-2004 08:50 PM
printer modules not loaded; parallel printer doesn't work blinux1 Linux - Newbie 7 06-24-2004 09:59 PM
Printer configuration thort Red Hat 12 11-29-2003 02:38 PM
Printer Configuration gcombe74 Linux - General 2 04-17-2002 01:42 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:09 AM.

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