- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- about priority 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
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
02-20-2006 07:59 PM
02-20-2006 07:59 PM
I work on a HP-UX 11.23 system.
What changes do I have to do in a system in order to redirect only files with 5,6,7, priority towards the printer ? I don't want to list the files having a priority smaler than 5.
Thank you
an best regards.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 08:06 PM
02-20-2006 08:06 PM
SolutionLets sya your printer name is "pinterA"
All u have to do is set a fence priority on that printer as "5"..
ex :
/usr/sbin/lpfence printerA 5
This sould solve ur problem.
Regards,
Senthil Kumar .A
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 08:37 PM
02-20-2006 08:37 PM
Re: about priority spooler
i'am a beginner...
now i'm learning
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 08:52 PM
02-20-2006 08:52 PM
Re: about priority spooler
The user sends a file to the printer using lp command. The spooler that has been created is not listed and can be consulted by the admin in /var/spool/lp/request/hp8150. How is it possible for the file owner to read and modify in the spool file using vi ?
Thank you
an best regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 08:57 PM
02-20-2006 08:57 PM
Re: about priority spooler
This should be useful to you,
http://docs.hp.com/en/B2355-90114/ch02s01.html
[HP-UX Distributed Print Service User's Guide > Chapter 2. Basic Printing Tasks
Using Line Printer Spooler (LP Spooler) Commands ]
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:04 PM
02-20-2006 09:04 PM
Re: about priority spooler
#lpstat -t
would give the list of spoolers and its current status, whether it is running / stopped etc.
From this list the user can select the spooler which he wants.
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:19 PM
02-20-2006 09:19 PM
Re: about priority spooler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:22 PM
02-20-2006 09:22 PM
Re: about priority spooler
"lpstat" is part of core HP-UX OS and you dont need to install any other stuffs. Just to check that out, run
#swlist -l file |grep -i lpstat
PHCO_30431.LP-SPOOL: /usr/bin/lpstat
PHCO_30431.LP-SPOOL: /usr/sbin/rlpstat
PrinterMgmt.LP-SPOOL: /usr/bin/lpstat
PrinterMgmt.LP-SPOOL: /usr/sbin/rlpstat
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:24 PM
02-20-2006 09:24 PM
Re: about priority spooler
Hi,
HPDPS is not reqd to be installed to run lpstat.
find it at
/usr/bin/lpstat
Regards,
Siva.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:26 PM
02-20-2006 09:26 PM
Re: about priority spooler
What can i do if i want user (not administrator) to control with vi the spool file created by itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:27 PM
02-20-2006 09:27 PM
Re: about priority spooler
"lpstat" as well from the user..
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:39 PM
02-20-2006 09:39 PM
Re: about priority spooler
total 64
-rw------- 1 lp lp 115 Feb 21 07:46 fA026lion
-rw------- 1 lp lp 105 Feb 21 07:52 fA027lion
-rw-r----- 1 lp lp 17 Feb 21 07:46 fA026lion
-rw-r----- 1 lp lp 151 Feb 21 07:52 fA027lion
$
lpstat
hp8150-26 roxa priority 0 Feb 21 07:46
myfile 17 bytes
hp8150-27 roxa priority 0 Feb 21 07:52
x 151 bytes
printer queue for hp8150
JetDirect lpd: no jobs queued on the port Auto
lion: hp8150: ready and waiting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:41 PM
02-20-2006 09:41 PM
Re: about priority spooler
ll /var/spool/lp/request/hp8150
total 64
-rw------- 1 lp lp 115 Feb 21 07:46 fA026lion
-rw------- 1 lp lp 105 Feb 21 07:52 fA027lion
-rw-r----- 1 lp lp 17 Feb 21 07:46 fA026lion
-rw-r----- 1 lp lp 151 Feb 21 07:52 fA027lion
$
Only user "lp" can delete/modify it.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:54 PM
02-20-2006 09:54 PM
Re: about priority spooler
For ex the "roxa" user to be able to modify these spool files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 09:56 PM
02-20-2006 09:56 PM
Re: about priority spooler
I dont think it possible to modify by other user than "root".
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 10:10 PM
02-20-2006 10:10 PM
Re: about priority spooler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 10:13 PM
02-20-2006 10:13 PM
Re: about priority spooler
This guide should be helpful,
http://docs.hp.com/en/B2355-90950/ch07.html
[Managing Systems and Workgroups
Chapter 7. Administering a System: Managing Printers, Software, and Performance]
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2006 10:30 PM
02-20-2006 10:30 PM
Re: about priority spooler
I'am interested in finding out how do i do in order to "roxa" user to be able to modify the file before it gets send to the printer. See above ex i gave you.
Thank You for your efforts and for your kind-ness.