LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-23-2008, 04:02 PM   #1
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Rep: Reputation: 15
Unhappy Problem with CUPS


I have set up 5 printers in SUSE 10.3, and also setup printers in CUPS. I can do a test print from connections with Yast and print the "Hello World" test page.

When I go to localhost:631/printers, I see all printers paused. When I choose to start printer, I get 'Open device failed: will restart in 30 sec. It keep restarting until I stop printer.

Right now, I have all printer configured to the same print for testing.

Can anyone give me an idea what to do to get all printers printing?

Thanks in advance.
Jack
 
Old 10-23-2008, 04:14 PM   #2
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Either SUSE or CUPS

I know nothing about SUSE, but with our RH systems, I use http://localhost:631 and only http://localhost:631. The RH print configuration tends to do things like reset the port number back to 9100 for those older printers that don't default to HP's port 9100.

Also, up through at least RH EL 4, RH's printer configuration has IMHO never been CUPS-friendly. Perhaps you are having the same problem in SUSE.

I suggest picking one configuration or the other. My choice would be CUPS' interface. Delete the printers from SUSE. Or, try the other way around.

BTW, Ubuntu's print configuration is very friendly, but I still prefer the CUPS interface.
 
Old 10-23-2008, 05:06 PM   #3
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Removed a printer in linux.

When I removed a printer in Linux, SUSE, It disappeared in cups. Do I need to create it in CUPS now?
 
Old 10-24-2008, 09:50 AM   #4
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
More info needed

What kind of printer is this?

Is this printer plugged into your Linux system, or is it a networked printer?

If a network printer, to which kind of system is this connected, Linux, Windows, other?

What does your connection string look like.

I would add the printer in CUPS' interface, and then send a test page.

If this is a Windows printer, using smbclient would be helpful -- study the output from just running smbclient. Using this can help you decide how to connect to a printer.
 
Old 10-24-2008, 12:55 PM   #5
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Wink

The printer that I am using for testing is an HP Deskjet 6540, connected to my linux system. I will eventually be connecting printer to 4 XP stations using Anzio.

As far as a connection string, Linux connection is 'USB port(serial=MY4833POPY040).

Now, I enter http://localhost 631/ I get 404 not found, when I add printers to that string, I see the printers screen but no images.

Also the printers are all "Paused".

I just noticed that one of the printers did not have a location. I copied one from one of the other printers. Now I get printer not hooked up. It shows parallel to the HP, but I am on USB, which will be how the other printer will be connected.

Thanks for you help
 
Old 10-24-2008, 04:54 PM   #6
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
http://localhost:631

Make sure cups is running

ps -ef | grep cups

Also, did you mean to put the space in between http://localhost and 631?
 
Old 10-25-2008, 02:18 PM   #7
sjpiv44
Member
 
Registered: Jan 2008
Location: Little Rock
Distribution: SUSE 10.3
Posts: 38

Original Poster
Rep: Reputation: 15
Ok I have entered ps -ef | grep cups

I received the following:

ps -ef| grep cups
root 3007 1 0 14:03 ? 00:00:00 /usr/sbin/cupsd
lp 3069 3007 0 14:03 ? 00:00:00 /usr/bin/perl /usr/lib/cups/filt er/foomatic-rip 175 root Test Page 1 job-uuid=urn:uuid:5d374842-f000-359f-712d-f d07e43904b2
lp 3089 3069 0 14:03 ? 00:00:00 /usr/bin/perl /usr/lib/cups/filt er/foomatic-rip 175 root Test Page 1 job-uuid=urn:uuid:5d374842-f000-359f-712d-f d07e43904b2
lp 3090 3089 0 14:03 ? 00:00:00 /usr/bin/perl /usr/lib/cups/filt er/foomatic-rip 175 root Test Page 1 job-uuid=urn:uuid:5d374842-f000-359f-712d-f d07e43904b2
lp 3308 3007 0 14:03 ? 00:00:00 /usr/bin/perl /usr/lib/cups/filt er/foomatic-rip 172 guest Test Page 1 job-uuid=urn:uuid:cfa411aa-5c79-3f81-6c74- 5467d14b24e2
lp 3313 3308 0 14:03 ? 00:00:00 /usr/bin/perl /usr/lib/cups/filt er/foomatic-rip 172 guest Test Page 1 job-uuid=urn:uuid:cfa411aa-5c79-3f81-6c74- 5467d14b24e2
lp 3314 3313 0 14:03 ? 00:00:00 /usr/bin/perl /usr/lib/cups/filt er/foomatic-rip 172 guest Test Page 1 job-uuid=urn:uuid:cfa411aa-5c79-3f81-6c74- 5467d14b24e2

When I do http//localhost:631, I can not go to the home option.
I am still not clear if I am suppost to only creater printers in Cups only or in Linux and Cups?

THanks,
Jack
 
Old 10-30-2008, 05:38 PM   #8
cmnorton
Member
 
Registered: Feb 2005
Distribution: Ubuntu, CentOS
Posts: 585

Rep: Reputation: 35
Not both, one or the other

There are two interfaces that do the same thing. They both configure the CUPS (print system) on your RH system. You are not configuring in Linux and in CUPS.

If you have RHEL 4, I would submit a ticket to Red Hat and ask them which is the preferred method and/or look at their knowledgebase.


I have found using RH's CUPS menu interface is more difficult than using the web browser interface. At this point, you probably should contact RH.
 
  


Reply

Tags
cups



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
CUPS problem ? MaaSTaaR Linux - General 1 03-15-2006 02:39 PM
cups problem simcox1 Slackware 7 08-06-2005 01:06 PM
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
CUPS problem need help balam Linux - Networking 2 01-27-2004 09:49 PM
CUPS problem contec Linux - Hardware 0 08-13-2003 04:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration