try : # /usr/sbin/alternatives --display print print - status is auto. link currently points to /usr/bin/lpr.cups /usr/bin/lpr.cups - priority 40 slave print-lp: /usr/bin/lp.cups slave print-lpq: /usr/bin/lpq.cups slave print-lprm: /usr/bin/lprm.cups slave print-lpstat: /usr/bin/lpstat.cups slave print-cancel: /usr/bin/cancel.cups slave print-lpc: /usr/sbin/lpc.cups slave print-cancelman: /usr/share/man/man1/cancel-cups.1.gz slave print-lpman: /usr/share/man/man1/lp-cups.1.gz slave print-lpcman: /usr/share/man/man8/lpc-cups.8.gz slave print-lpqman: /usr/share/man/man1/lpq-cups.1.gz slave print-lprman: /usr/share/man/man1/lpr-cups.1.gz slave print-lprmman: /usr/share/man/man1/lprm-cups.1.gz slave print-lpstatman: /usr/share/man/man1/lpstat-cups.1.gz Current `best' version is /usr/bin/lpr.cups.
if the line link currently points to <something> is missing, here is your problem Look if cups is installed and if "alternative" is correctly set. Regards On 10/22/07, tblader <[EMAIL PROTECTED]> wrote: > Hello All. > Anyone know what the cause of this error is in Centos 4? > > $ system-config-printer > Traceback (most recent call last): > File "/usr/sbin/system-config-printer", line 9, in ? > import queueTree > File "/usr/share/printconf/util/queueTree.py", line 1236, in ? > queueTree() > File "/usr/share/printconf/util/queueTree.py", line 138, in __init__ > if cups_import.import_needed (): > File "/usr/share/printconf/util/cups_import.py", line 200, in import_needed > which = which_spooler () > File "/usr/share/printconf/util/cups_import.py", line 195, in which_spooler > return which > UnboundLocalError: local variable 'which' referenced before assignment > > > > -- > > Flambeau Inc. Technology Center - Baraboo, WI > Email : [EMAIL PROTECTED] > Keyserver: http://pgp.mit.edu KeyID: 0x00E9EC2C > _______________________________________________ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > -- Alain Spineux aspineux gmail com May the sources be with you _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos