Re: cups / cli stopped print jobs problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks for the help.  There is a way to get the information, but its
ugly.
Was hoping for a more straight forward method.

If a printer is down, I can us lpstat -l printer name to determine if a
job is stopped, but I could not figure out a way to easily determine the
status of jobs in the queue, such as stopped, processing, queued.

_____________________________________
"He's no failure. He's not dead yet."
William Lloyd George
-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On
Behalf Of Robert Heller
Sent: Wednesday, August 12, 2009 6:12 PM
To: CentOS mailing list
Cc: CentOS@xxxxxxxxxx
Subject: Re:  cups / cli stopped print jobs problem

At Wed, 12 Aug 2009 16:00:17 -0400 CentOS mailing list
<centos@xxxxxxxxxx> wrote:

> 
> Content-Class: urn:content-classes:message
> 
> 
> On occasion, we get a printer that becomes disabled, and jobs begin to
> queue up.  When the issue is resolved, we re-enable the printer and
> usually all the jobs print out.
> 
> However, sometimes the first job never prints, but the others do.  The
> cups interface shows the job is stopped. IfI restart the job in the
cups
> interface, it prints.
> 
>  
> 
> Is there a way to determine, via the command line,  if a print job is
in
> the stopped state, or a queue has jobs in this state.  Also, is there
a
> way to restart the job if its stopped.

lpstat	-- printer, queue, and job status
lp	-- queue or alter print jobs
cancel	-- cancels print jobs

Documentation is available:

man lpstat
man lp
man cancel


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux