LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   not able to print to one printer using CUPS (https://www.linuxquestions.org/questions/linux-software-2/not-able-to-print-to-one-printer-using-cups-701080/)

aopex 01-30-2009 01:55 PM

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.

Tinkster 02-01-2009 04:00 PM

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

aopex 02-01-2009 08:55 PM

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...

Tinkster 02-01-2009 10:30 PM

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

aopex 02-02-2009 09:13 PM

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


All times are GMT -5. The time now is 03:05 PM.