LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   system-config-printer (https://www.linuxquestions.org/questions/slackware-14/system-config-printer-673173/)

jmdlcar 09-29-2008 05:56 PM

system-config-printer
 
What dose this mean or whats wrong? How can I fix it?

Quote:

bash-3.1# system-config-printer
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 30, in <module>
import gtk.glade
ImportError: No module named gtk.glade
bash-3.1#
Thanks

keefaz 09-29-2008 06:18 PM

Do you have pygtk package installed ?

jmdlcar 09-29-2008 06:58 PM

I install pkgtk but now.

Quote:

bash-3.1# system-config-printer
Traceback (most recent call last):
File "/usr/share/system-config-printer/system-config-printer.py", line 36, in <module>
import gnome
ImportError: No module named gnome
bash-3.1#

Alien Bob 09-29-2008 07:11 PM

Yeah figures.
You are trying to run Redhat's printer configuration applet, but since Redhat uses Gnome you will probably have to install a lot of Gnome as well.
Why do you want this applet in the first place? It is not going to work in a Slackware box anyway.

Eric

keefaz 09-29-2008 07:11 PM

Wait... From which package have you system-config-printer installed ?
Is it a gnome (god forbid) software ? :)

Have you tried: http://localhost:631 to set your printer ?

jmdlcar 09-29-2008 07:52 PM

Alien Bob: I'm using Xfce and want to be able to print.

keefaz: I try http://localhost:631/ and here what I got "404 Not Found".

Woodsman 09-30-2008 12:34 AM

Quote:

I try http://localhost:631/ and here what I got "404 Not Found".
Have you started the CUPS service? From the command line try the following:

chmod +x /etc/rc.d/rc.cups
/etc/rc.d/rc.cups start


Also, if you don't mind temporarily using KDE, the Control Center provides a nice GUI interface to configure printers. Similar to the CUPS web interface.

Alien Bob 09-30-2008 02:29 AM

As Woodsman already said, the error "404 Not Found" at http://localhost:631/ means that your cups service is not starting at boot. He also showed you what commands to use so that the CUPS printing service will start on every boot.

See here for configuring your printing in XFCE: http://www.xfce.org/documentation/4.2/manuals/xfprint Pich "CUPS" as the print service type available to you.

Eric


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