1753964 Members
7438 Online
108811 Solutions
New Discussion юеВ

Re: Printers

 
SOLVED
Go to solution
Manuales
Super Advisor

Printers

Hi, i do not know how to verify:
- what printers are added on unix
- if there are jobs running or not
- how to kill a job on queue
...
please, i do not know nothing about that, please tell me ....

what commands must i use on line?
from sam not.
Thanks ...
4 REPLIES 4
Marcel Boogert_1
Trusted Contributor
Solution

Re: Printers

Hi there,

Use lpstat and hppi.

Regards, MB.
DCE
Honored Contributor

Re: Printers



lpstat for printer list/job status

man lpstat for more info

cancel to kiil a job

man cancel for more info

lpshut shuts down spooler
lpsched starts spooler
Rick Garland
Honored Contributor

Re: Printers

'lpstat -t' from command line will tell you what printers are on the system, if they are enabled or disabled, if they have jobs queued, etc. Other switches available with the 'lpstat' command so take a look at 'man lpstat'.

To kill a print job use the 'cancel' command
Get the printer name and job-ID number from the 'lpstat' output and issue the command 'cancel

Again, look at the man pages 'man cancel'
MANOJ SRIVASTAVA
Honored Contributor

Re: Printers

lpstat -t ---> this will give you the list of printers installed with the status of the queue. man lpstat will give you more options .

Same thing can be done using SAM.


Manoj