"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.
Red Hat Enterprise Linux 6 Beta1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.