- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- stop start spooler
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
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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-22-2004 12:54 AM
тАО06-22-2004 12:54 AM
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 12:57 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 01:01 AM
тАО06-22-2004 01:01 AM
Re: stop start spooler
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 01:03 AM
тАО06-22-2004 01:03 AM
Re: stop start spooler
cheers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 01:11 AM - last edited on тАО09-16-2024 02:20 AM by support_s
тАО06-22-2004 01:11 AM - last edited on тАО09-16-2024 02:20 AM by support_s
Re: stop start spooler
If you need reset all printing jobs queued in a printer:
#cancel -e
If you need cancel a specific job queued:
#lpstat
myfile.txt 370 bytes
#cancel
Rgds.
- Tags:
- storage controller
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 06:44 AM
тАО06-22-2004 06:44 AM
Re: stop start spooler
If youmena that you want to stop the printer from getting any request then you can do reject/accept of the printer.
stop printer from accepting any request:
reject < printer >
start accepting request
accept < printer >
manish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 06:52 AM
тАО06-22-2004 06:52 AM
Re: stop start spooler
LP Spooler Commands:
lpstat - report line printer status information
enable - enable LP printers
disable - disable LP printers
accept - allow LP printer queuing requests
reject - prevent LP printer queuing requests
lpadmin - configure the LP spooling system
lpsched - start the LP request scheduler
lpshut - stop the LP request scheduler
cancel - cancel requests
lpmove - move requests
lpfence - define the minimum priority for printing
addqueue - add a queue to the LP spooling system
There are 4 main directories on the HP Spooler:
/etc/lp Directory of spooler configuration data
/var/sam/lp Backup directory of spooler configuration
/var/spool/lp Directory of LP spooling files and directories
/var/adm/lp Directory of spooler log files
You can get further details on a printer with a HP Jet DIrect card by using the hpnpadmin command:
hpnpadmin -v
hpnpadmin -v RF02
Or, too get just relevant info, use the lpinfo script:
lpinfo W052
idle-timeout - specifies a timeout after which to close a connection if no
data is being sent
To change the value of "idle-timeout" on the jetdirect card:-
- telnet
- at the ">" prompt press [return] TWICE
- type "/" to show current parameter settings
- note "Idle Timeout" value (eg 30 seconds)
- type "?"
- type "idle-timeout: 270 (to increase to 270 seconds).
- type "quit" to save and exit with these settings.
NOTE: The maximum number for the JetDirect card timeout is 1 hour (3600
seconds). Be careful if you use high values, you might block the port for other
users.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2004 02:34 PM
тАО06-22-2004 02:34 PM
Re: stop start spooler
Instead, use the reject command to not only stop the printer but to prevent the lp command from completing any requests for the printer. That way, users get immediate feedback that the printer is not working.
Bill Hassell, sysadmin