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

Re: CUPS lpq



On Sat, Jul 18, 2009 at 10:46:26PM +0530, Girish Kulkarni wrote:
> How can I make the CUPS lpq command give more details than simply
> this? --
> 
>    girish@marvin:~$ lpq -P duplex2
>    duplex2 is ready
>    no entries
> 
> I work on my laptop (running Lenny) plugged into my organization's
> network and have set up CUPS to print on a HP Laser Jet 4250dtn
> printer called duplex2 on this network.  lpq always gives this same
> printer queue status even when the printer is actually not ready.

This is likely the state of the local queue, rather than the
network printer itself (but you might want to check that).

CUPS also has a SYSV-style lpstat command in addition to lpq,
which IIRC gives more verbose reporting.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: