- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: /var/spool/lp
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
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-01-2001 02:48 AM
08-01-2001 02:48 AM
/var/spool/lp
I find detailed information about files contained in the directories :
/var/spool/lp and /var/adm/lp/log.
Thanks in advance to whom can help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 02:55 AM
08-01-2001 02:55 AM
Re: /var/spool/lp
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 03:09 AM
08-01-2001 03:09 AM
Re: /var/spool/lp
but I looking for the format of the log files about status of print queue and fails notification.
bye.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 05:21 AM
08-01-2001 05:21 AM
Re: /var/spool/lp
In general do not touch /var/spool/lp/*. Use the utilities lpshut, lpsched, cancel, lpstat, reject, accept, enable, disable etc
* /var/spool/lp/request/ this contains a directory for each printer. Within this directory there are two files for each print job. lpstat -t gives the print queue, Hence Bills response
* /var/spool/lp/log logs the lp daemon starting stopping etc.
* /var/spool/lp/[c]interface/ contains a script for each printer. Do not touch, use jetadmin
* /var/spool/lp/
I'm assuming you are having probelms with your printers.
If you are really having problems cancelling jobs then.
# ps -fu lp
Run this a few times & see if the print queues are moving. This should give you a clue as to which printer is having problems.
Also doing
# du -sk /var/spool/lp/request/* | sort -n
Gives you an idea how much each printer has to print.
Lets say you think a printer called "myprinter" is the problem.
# /sbin/init.d/lp stop or # lpshut
# mkdir /tmp/myprinter
# mv /var/spool/lp/request/myprinter/* /tmp/myprinter/.
# reject [-r
# disable [-r
# /sbin/init.d/lp start or # lpsched
If you want to re-print these jobs youve saved the originals in /tmp/myprinter/df??? (Data File I assume) the /tmp/myprinter/cf??? is not really required (Control File I assume).
I hope the above helps
Tim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 05:43 AM
08-01-2001 05:43 AM
Re: /var/spool/lp
your informations are right, but I must Know the the exact internal structure for each file.
It is not a problem with my printer.
I have not found in the hp documentation the explanation of how to directly read the data on that files.
bye