Operating System - HP-UX
1855225 Members
7424 Online
104109 Solutions
New Discussion

tell me when a printer is off line

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

tell me when a printer is off line

Hi all:

Its been a printer day...

Going into jetadmin you can select the option(s) that will produce a display for you that says the printer is on-line, off-line, out of paper, etc...

Can this be done from a command line?

Many thanks!
2 REPLIES 2
Rick Garland
Honored Contributor

Re: tell me when a printer is off line

BTW, these printers are at remote locations, some 1000 miles away.

They are defined as network printers with direct IP addresses using jetdirect cards. The models vary - mostly HPIII and above.
James Murtagh
Honored Contributor
Solution

Re: tell me when a printer is off line

Hi Rick,

I think you're looking for the hpnpadmin command:

# hpnpadmin -E 15.145.38.102
Printer Status: Online

There are numerous flags to this command - please see the man page or help syntax.

Regards,

James.