- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: How reinit a printer without SAM
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
- 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
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
08-22-2004 08:39 PM
08-22-2004 08:39 PM
How reinit a printer without SAM
A graphical printer LEXMARK 45 is connected through Ethernet and is used to print screen pictures of the application.
If many prints are required, the printer becomes saturated. So, the operator can reset the printer buffer on the printer.
But, in this case, the HP printer service stays blocked and the only solution to continue with the printer is to reinitialize the printer with the SAM utilities.
Is it normal ?
Is there an other solution to restart the printer service ?
Is it possible to call applies in the application to reinit printer ? (the final operator is not abilities to use SAM.
Thanks ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 08:45 PM
08-22-2004 08:45 PM
Re: How reinit a printer without SAM
/sbin/init.d/lp start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 08:53 PM
08-22-2004 08:53 PM
Re: How reinit a printer without SAM
you can use /sbin/init.d/lp stop
and then /sbin/init.d/lp start
otherwise
stop the scheduler by "lpshut" and then restart it with "lpsched"
Regards
Franky
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 09:02 PM
08-22-2004 09:02 PM
Re: How reinit a printer without SAM
#lpsched
#lp stop
#lp start
These commands to be used for reinitialise printer and the scheduler
regards
SK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 09:04 PM
08-22-2004 09:04 PM
Re: How reinit a printer without SAM
enable
lpstat is the command to check the status of printer queues.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 09:10 PM
08-22-2004 09:10 PM
Re: How reinit a printer without SAM
Before you touch the printer do a disable
disable printer
Then reset the buffer
Then
enable printer
This should help
How is the printer installed. You may do well
to change the printer script in /etc/lp/interface to put a small sleep in after each file is transmitted to allow the printer time to finish
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2004 11:43 PM
08-22-2004 11:43 PM
Re: How reinit a printer without SAM
You can use:
- disable
- enable
but you must use "/usr/bin/enable" because if you type only enable it is possible that it try to use the internal shell command "enable".
Regards,
Manuel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2004 01:58 AM
08-25-2004 01:58 AM
Re: How reinit a printer without SAM
Does the service stay blocked only for the printer is the whole printersystem not usable?
Did you check the printerstatus with
lpstat -o
It might already give you a clue on what happened to the printer/printqueue.
Does it work again after you disabled/enabled the printer?
Might also check if the printer is still accepting requests. with the command accept
If this all does not help, try lpshut to bring down the printerservice and start it again with lpsched -v.
Regards,
Carlo