System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

printer disable; is it persistent across system reboots?

SOLVED
Go to solution
Stuart Powell
Super Advisor

printer disable; is it persistent across system reboots?

I have disabled a printer, and I would like to know if the printer will remain disabled after a system reboot and when the scheduler is stopped and restarted?

Stuart
Sometimes the best answer is another question
9 REPLIES
Pete Randall
Outstanding Contributor

Re: printer disable; is it persistent across system reboots?

No.


Pete

Pete
Stuart Powell
Super Advisor

Re: printer disable; is it persistent across system reboots?

Pete,

OK. Is that documented anywhere? Or is that one of those internal information points?

Stuart
Sometimes the best answer is another question
Pete Randall
Outstanding Contributor

Re: printer disable; is it persistent across system reboots?

Stuart,

I was hoping to find something in the man page, but it says nothing of the sort. So, to be on the safe side, I would have to qualify my statement. Make that

No, I don't believe so.


Pete

Pete
Ganesan R
Honored Contributor

Re: printer disable; is it persistent across system reboots?

Hi,

I haven't tested the status after reboot. But scheduler restart will not change the status of the disabled printers. It will remain disabled after scheduler stop and restart.
Best wishes,

Ganesh.
Patrick Wallek
Honored Contributor
Solution

Re: printer disable; is it persistent across system reboots?

Yes, a disabled printer remains disabled after a reboot.

I have 3 printers on one server that are disabled for various reasons. They stayed disabled when I last rebooted the system.
Pete Randall
Outstanding Contributor

Re: printer disable; is it persistent across system reboots?

Stuart,

I still find it somewhat illogical, but further investigation suggests that Patrick is right, and the fact that Patrick is never wrong just about guarantees it!

I was looking at various man pages and the rc scripts. Turns out print startup is simply an invocation of lpsched and there doesn't seem to be any clearing of anything beforehand.

Sorry I led you astray and thanks to Patrick for cleaning up another of my messes.


Pete

Pete
Patrick Wallek
Honored Contributor

Re: printer disable; is it persistent across system reboots?

>>the fact that Patrick is never wrong

Thanks for the compliment, Pete! But tell my wife that, would you! ;)
Pete Randall
Outstanding Contributor

Re: printer disable; is it persistent across system reboots?

Maybe I should have qualified that remark, too - something about "never wrong concerning HP-UX system administration".

:^)


Pete

Pete
Stuart Powell
Super Advisor

Re: printer disable; is it persistent across system reboots?

Patrick, Ganesan;

Thanks for the confirmation.

Stuart
Sometimes the best answer is another question