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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-30-2009, 01:55 PM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 2
Rep:
|
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.
|
|
|
02-01-2009, 04:00 PM
|
#2
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
02-01-2009, 08:55 PM
|
#3
|
LQ Newbie
Registered: Jan 2009
Posts: 2
Original Poster
Rep:
|
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...
|
|
|
02-01-2009, 10:30 PM
|
#4
|
Moderator
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
|
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
|
|
|
02-02-2009, 09:13 PM
|
#5
|
LQ Newbie
Registered: Jan 2009
Posts: 2
Original Poster
Rep:
|
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 12:20 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|