How to Start/Stop Printer in Linux
Printer can be checked /or started using root access:
----------------------------------------------------
Types of printers:
----------------
Lexmark (Pasta) --os driver install
Zebra printer - /ebsprint --picked by bartender software --opp
lpstat -p <PrinterName>
Printer not responding!
lpq -P <Printer Name>
cancel -a <PrinterName>
lpq -P <printerName>
cupsenable <printerName>
lpq -P <printerName>
Hello Team,
Umesh has scheduled new alert. Whenever there is any printer in disabled state in Prod(x1ebsa01/x1ebsa02) we will get this alert.
Action:
To check disabled printer:
lpstat -p | grep disable
To check printer is installed on server:
lpstat -p| grep -i SL_SITEST7_HP_M506
Check the queue on server:
lpq -P SL_SITEST7_HP_M506
If there is a long queue, cancel the request
Cancel the request:
lpq -P SL_RMA_01_HP_M506
cancel -a SL_RMA_01_HP_M506
cupsenable SL_RMA_01_HP_M506
lpq -P SL_RMA_01_HP_M506
Few additional commands just for FYI:
To check the ipadress:
lpstat -v | grep -i SL_IH_01_HP_M506
Send print request:
lpr -P SL_SITEST8_01_HP_M506 vivek.txt
Comments
Post a Comment