- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Trying to troubleshoot printer problem - filter qu...
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
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
тАО11-03-2004 09:33 AM
тАО11-03-2004 09:33 AM
Printcap entry:
IT5014TST:\
:if=/usr/lbin/hplaserof:\
:lf=/usr/spool/lpd/IT5014E.log:\
:lp=@it5014e/hplj:\
:mx#0:\
:pl#66:\
:pw#80:\
:of=/usr/lbin/teef:\
:sd=/usr/spool/lpd/IT5014E:\
:rw:\
:sh:
Contents of /usr/lbin/teef:
#! /bin/csh -f
#
# Filter to create a copy of the print job for debugging purposes
# This filter should only be used on ONE PRINTER AT A TIME on any given
# system. The DESTINATION directory must be created and monitored manually
# before activating the filter.
#
setenv FILE `date +%b%d%H%M%S`.job
setenv DEST /var/spool/lpd/IT5014E/debug
/usr/lbin/hplaserof | /bin/tee -i $DEST/$FILE
When I submit a print job, I see the request show up in the queue and I see three processes out there: a teef process, a /bin/tee process, and an hplaserof process. None completes until I 'clean' and 'restart' the queue using lpc. Then I'm left with a 16 byte file in the 'debug' directory referred to in /usr/lbin/teef (named appropriately - timestamp.job) and the full output appears on the printer.
What am I missing here?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2004 01:07 AM
тАО11-04-2004 01:07 AM
Re: Trying to troubleshoot printer problem - filter question
Have you looked at /var/adm/syslog.dated/current/lpr.log for any error messages?
You may want to edit /etc/syslog.conf and change the 'lpr.
Vic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2004 09:59 AM
тАО11-05-2004 09:59 AM
Re: Trying to troubleshoot printer problem - filter question
The job hangs indefinitely at this point with a tee, a teef, and an hplaserof process all sitting out there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2004 08:26 PM
тАО11-07-2004 08:26 PM
Re: Trying to troubleshoot printer problem - filter question
I believe your problem is the ":if" entry in printcap. Remove this entry. You do not need an ":if" until you want a different filtering for the banner page.
Erich.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 01:25 AM
тАО11-08-2004 01:25 AM
Re: Trying to troubleshoot printer problem - filter question
the problem also occurs without if
Michael
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 03:29 AM
тАО11-08-2004 03:29 AM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 03:38 AM
тАО11-08-2004 03:38 AM
Re: Trying to troubleshoot printer problem - filter question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2004 03:40 AM
тАО11-08-2004 03:40 AM