- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printer "out of paper"
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-22-2003 11:37 PM
06-22-2003 11:37 PM
how do I know if "out of paper"? Any tool or any command will show this message?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2003 11:42 PM
06-22-2003 11:42 PM
Re: Printer "out of paper"
if the printer is configured with jetdirect, you can find usefull messages in the syslog, like the "out of paper" you need.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 01:20 AM
06-23-2003 01:20 AM
Re: Printer "out of paper"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 02:11 AM
06-23-2003 02:11 AM
Re: Printer "out of paper"
#!/bin/sh
echo "Please Reset Failed Print Server:\n" >> /tmp/prtsvr.tmp
PRTSVR_FILE=/tmp/prtsvr.lst
FAIL_PRT=/tmp/prtsvr.tmp
MAIL_LIST="a@a.com b@b.com"
for host in $(cat $HOSTNAME_FILE)
do
ping $host -n 1 | grep -q '1 packets received'
if [ $? = 0 ]
then
echo "$host: OK" >> $FAIL_PRT
else
echo "$host: FAIL" >> $FAIL_PRT
fi
done
v_fail=`grep FAIL $FAIL_PRT |wc -l`
if [ $v_fail -ge 1 ]; then
mailx -s "Please Reset Printer Server" $MAIL_LIST < $FAIL_PRT
fi
exit 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2003 02:38 AM
06-23-2003 02:38 AM
SolutionBill Hassell, sysadmin