'lpstat -p' always reports a request ID is '-0'.

Solution Verified - Updated -

Issue

  • "lpstat -p" always reports a request ID is "<printer-name>-0". On our own system, "lp -d" reports a request ID is as follows.

    # lp -d VSP4620AFM J1_20p.txt
     request id is VSP4620AFM-4 (1 file(s))
    
  • "lpstat -p" run to confirm the printing request information reports as follows.

    # lpstat -p
     printer VSP4620AFM now printing VSP4620AFM-0.  enabled since Fri May 14 14:36:12 2010
    
  • As you see, the request IDs are different from each other.  That is, "lpstat -p" should be report VSP4620AFM-4 as well as "lp -d".

  • Step to Reproduce:

      1. Run "lp -d" to print a file.

    # lp -d <printer-name> <file-name>
    request id is PRINTER_NAME-ID (1 file(s))

     2. Run "lpstat -p" to confirm a printing status.

    # lpstat -p
  • Actual Results: "lpstat -p" always reports a request ID is "<printer-name>-0".
  • Expected Results: "lpstat -p" reports an actual request ID.

Environment

  • Red Hat Enterprise Linux 6 Beta1

  • cups-1.4.2-16.el6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.