1827293 Members
2824 Online
109717 Solutions
New Discussion

Re: PRINTER PROBLEM

 
Arun Jain
Frequent Advisor

PRINTER PROBLEM

Hi All,

I have a printer attached to a server which is used at a remote location.
Some times the user complaints that the printer is giving junk printing and ask to flush the print queue.
When I run lpstat it gives me status that the printer is running but don't show which requests are in queue.

now please suggest how to see the number of prints in that queue, how to find the request id for each and how to cancel that particular job.

Regards:
Arun Jain
speak less say more
2 REPLIES 2
whiteknight
Honored Contributor

Re: PRINTER PROBLEM


Arun,

You can use the lpstat -o

# lp -dssolj4_1 /etc/profile
request id is ssolj4_1-2 (1 file)
# lpstat -o
ssolj4_1-2 root priority 0 May 6 15:34 on ssolj4_1
profile 2974 bytes

# cancel ssolj4_1-2
request "ssolj4_1-2" cancelled
#

Hope this help
WK

don't forget to assign points
Problem never ends, you must know how to fix it
Sajjad Sahir
Honored Contributor

Re: PRINTER PROBLEM


Dear Arun

see man page of lpstat command

thanks and regards

Sajjad