Operating System - HP-UX
1836975 Members
2198 Online
110111 Solutions
New Discussion

Re: Printer enable,disable status

 
devhariprasad
Advisor

Printer enable,disable status

Hi,

Can anyone tell me how to find out whether a printer is enabled or disabled in HP-UX.
5 REPLIES 5
Jonathan Fife
Honored Contributor

Re: Printer enable,disable status

Hi,

The command "lpstat -p" should tell you for a specific printer, or just "lpstat -p" for a listing of all printers.

If you only want the "enabled/disabled" lines then pipe the output through "grep bled"
Decay is inherent in all compounded things. Strive on with diligence
Jose Mosquera
Honored Contributor

Re: Printer enable,disable status

Hi,

lpstat -p

Rgds.
devhariprasad
Advisor

Re: Printer enable,disable status

Thanks a lot
DCE
Honored Contributor

Re: Printer enable,disable status


another option use SAM and look at the printers there
Fred Martin_1
Valued Contributor

Re: Printer enable,disable status

I have been doing this for ages, without thinking about it:

$ lpstat -p | grep dis

It shows all disabled printers, if any, without much effort.

Fred
fmartin@applicatorssales.com