Operating System - HP-UX
1847897 Members
3776 Online
104021 Solutions
New Discussion

auto enable disabled printer

 
abcd_2
Occasional Contributor

auto enable disabled printer

I have one network printer. which goes offline frequently. subsequently printer defined in my unix box is disabled automatically, Every time I have to 'enable' it manually, is there any workaround for auto-enabling, Sometime, the IP address of printer stop pinging from unix box, so I have to physically restart printer. (But my problem is How to 'enable' printer/printer queue once printer is online.

or Did I configured printer wrongly,
I used following command to configure printer.
lpadmin -pMyPrn1 -v/dev/null -mrmodel -ormPrntrName -orppr1
3 REPLIES 3
Sandeep_Chaudhary
Trusted Contributor

Re: auto enable disabled printer

Its because if hardware problem with printer.
U can write script and put in crontab to keep on checking printer status and restart it if it is disable.


Ganesan R
Honored Contributor

Re: auto enable disabled printer

Hi,

By design the queue will be disabled if the designation is not reachable for the defined period of time.

Either keep alive the designation or write a simple script and put it on crontab to check and enable the printer.
Best wishes,

Ganesh.
Tim Nelson
Honored Contributor

Re: auto enable disabled printer

What you configured is not really a "network" printer it is a "remote" printer.

"remote" printer's status is controlled by the "remote" printer's queue and the HPUX spooler is dependent on the "remote's" queue status. Just because you can ping the IP address does not mean that the queue is functioning.

"network" printers, those with a NIC or a jetdirect type of device, have typically been more dependable. If you can, configure this as a direct network printer and see if you get a more stable environment.