LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 01-30-2009, 01:55 PM   #1
aopex
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Rep: Reputation: 0
not able to print to one printer using CUPS


All,
I am hard time printing to one particular Canon IR8500 printer Red hat
WE are using CUPS to manager around 30 printers.
But this printer says
$lpstat -p

printer Comm-ir8500pdf disabled since Jan 01 00:00 -
Connected to Print-Server.opex.local...


output from /etc/cups/printers.conf

<Printer Comm-ir8500pdf>
Info Created by redhat-config-printer 0.6.x
Location
DeviceURI lpd://Print-Server.opex.local/Comm-ir8500pdf
State Stopped
StateMessage Connected to Print-Server.opex.local...
Accepting Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
</Printer>

when I try to start the printer from CUPS, it comes back immediately to
Printer State: Stopped, accepting jobs

After I delete it and redefine it, the status says Idle, but as soon as I submit a job, the status change to 'Stopped'

At this point I am just cluless on how to fix this.

Tia,
Aopex.
 
Old 02-01-2009, 04:00 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,972
Blog Entries: 11

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
Hi,

And welcome to LQ!

You could see what /usr/sbin/accept <queue name> does.

If that fails - bump up the log-level in cupsd.conf, restart
CUPS and check cups' error-file after you try to do anything
with that printer...



Cheers,
Tink
 
Old 02-01-2009, 08:55 PM   #3
aopex
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
Tink,
Thanks for your reply.
I tried /usr/sbin/accept <queue name> but its not doing anything.
I have LogLevel to Debug2 but that also is not giving any clue.

d [01/Feb/2009:21:46:41 -0500] ProcessIPPRequest: URI="ipp://localhost/printers/
Comm-ir8500pdf"
d [01/Feb/2009:21:46:41 -0500] accept_jobs(0xb7c7c008[6], ipp://localhost/printe
rs/Comm-ir8500pdf)
I [01/Feb/2009:21:46:41 -0500] Saving printers.conf...
I [01/Feb/2009:21:46:41 -0500] Printer 'Comm-ir8500pdf' now accepting jobs ('roo
t').
D [01/Feb/2009:21:46:41 -0500] ProcessIPPRequest: 6 status_code=0
d [01/Feb/2009:21:46:41 -0500] ProcessIPPRequest: Adding fd 6 to OutputSet...
d [01/Feb/2009:21:46:41 -0500] WriteClient: Removing fd 6 from OutputSet...
d [01/Feb/2009:21:46:41 -0500] ReadClient: 6, used=0, file=-1
d [01/Feb/2009:21:46:41 -0500] ReadClient: httpGets returned EOF...
D [01/Feb/2009:21:46:41 -0500] CloseClient: 6
d [01/Feb/2009:21:46:41 -0500] CloseClient: Removing fd 6 from InputSet and OutputSet...
 
Old 02-01-2009, 10:30 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,972
Blog Entries: 11

Rep: Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876Reputation: 876
So there's no lines beginning with E or e in there?
Odd ...

egrep "^[Ee] " error_log


On an unrelated note: what's the meaning of the PDF in the
printers queue name?
Also: in your first post it was identified as lpd:// and now
you have it down as ipp:// ? Which is it?


Cheers,
Tink
 
Old 02-02-2009, 09:13 PM   #5
aopex
LQ Newbie
 
Registered: Jan 2009
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for your reply again !!
Here is the output of egrep cmd

E [02/Feb/2009:19:36:06 -0500] LoadAllJobs: Unable to queue job for destination"http://lintest:631/printers/Comm-ir8500pdf"!
E [02/Feb/2009:19:36:06 -0500] LoadAllJobs: Unable to queue job for destination"http://lintest:631/printers/Comm-ir8500pdf"!
E [02/Feb/2009:19:37:06 -0500] PID 24375 stopped with status 1!

the printer is defined as Comm-ir8500pdf on our windows network, that why i have kep the same name for the Queue.

I was using system-config-printer utility to setup the printer and test the CUPS page. That why you saw the ipp command there.
I have deleted the printer and redefied it.


Tia,
Aopex
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox 3 cannot print to CUPS printer rnturn Linux - Desktop 22 05-10-2010 03:56 AM
Can't print to second cups printer rbees Linux - Newbie 18 02-05-2007 09:38 AM
CUPS: Cannot print to remote printer nazarioz Linux - General 16 01-12-2005 09:11 PM
Can't print to remote printer using CUPS pfunk Linux - General 1 10-22-2004 12:51 PM
CUPS: Cannot print to remote printer nazarioz Linux - Hardware 1 09-26-2004 07:23 PM


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

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