- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Printer disabled after reboot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 08:17 PM
06-21-2004 08:17 PM
Printer disabled after reboot
I have a printer that is disabled after rebooting. How do I set it to be enabled after rebooting? I am using LP spooler.
Sorry if I'm not clear as I'm not firmiliar with printing under HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 08:19 PM
06-21-2004 08:19 PM
Re: Printer disabled after reboot
lpsched to start the scheduler
lpstat to get the status of the scheduler and printers
lpshut to shut the scheduler
enable prinername to enable the printer
disable to disable it.
IS the printer switched on or acessible before the printing scheduler is started???
with best wishes
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 08:20 PM
06-21-2004 08:20 PM
Re: Printer disabled after reboot
First chk if your spooling are ready to work:
#lpsched (enable spooling)
Aftter this enable the printer:
#enable
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 08:33 PM
06-21-2004 08:33 PM
Re: Printer disabled after reboot
Could you check the permissions of next files ?
/etc/hosts
/etc/nsswitch.conf
/etc/resolv.conf
They should be 555.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 08:45 PM
06-21-2004 08:45 PM
Re: Printer disabled after reboot
The enable command is ofcourse present to enable the printer but if the printer is disabled aotomatically then probably the device associated with it is given as a login terminal.
What I meanis while creating the printer lpadmin -l option must have been used.
Hope this helps
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:06 PM
06-21-2004 09:06 PM
Re: Printer disabled after reboot
I have set /etc/hosts to 555. I will try during the next reboot
Hi Manish
What is a login terminal for printers?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:24 PM
06-21-2004 09:24 PM
Re: Printer disabled after reboot
Is your device a LAN printer? Try to ensure that this name device are reachable from your host (i.e: ping
I think that Robert-Jan's suggestion aim to this point.
Rgds.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 09:27 PM
06-21-2004 09:27 PM
Re: Printer disabled after reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2004 10:53 PM
06-21-2004 10:53 PM
Re: Printer disabled after reboot
What I mean is that the device to which the printer prints the job is a login terminal. Just have a look at man lpadmin -l option.
Do an lpstat -p
Such a printer can be created as:
lpadmin -pprinter -v/dev/null -mdumb -l
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 01:27 PM
06-22-2004 01:27 PM
Re: Printer disabled after reboot
Here is the output
PCPRS is the printer that I will like to be enabled after every reboot
# lpstat -p PCPRS
printer lj4050 is idle. enabled since Jul 20 16:42
fence priority : 0
printer lp1 is idle. enabled since Nov 17 11:08
fence priority : 0
printer PCPRS is idle. enabled since Jun 22 16:23
fence priority : 0
printer queue for PCPRS
-- Idle
no entries
hnssas3: PCPRS: ready and waiting
no entries
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 01:39 PM
06-22-2004 01:39 PM
Re: Printer disabled after reboot
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 05:30 PM
06-22-2004 05:30 PM
Re: Printer disabled after reboot
Yes, it is LP=1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2004 07:42 PM
06-22-2004 07:42 PM
Re: Printer disabled after reboot
Try removing the LPSHEDLOCK file and restart the lp schedular "lpsched" the LPSCHEDLOCK will again created after lpsched.
Best Of Luck !
Regards,
naids