- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP-UX 11.0 print to file problem
Operating System - HP-UX
1824218
Members
3878
Online
109669
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
Forums
Discussions
юдл
back
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
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО05-15-2004 01:42 AM
тАО05-15-2004 01:42 AM
HP-UX 11.0 print to file problem
I have an application that sets up it's own printer queues to convert from it's internal format to postscript (which it then typically forward to the real unix postscript printer queue). This application allows me to "print to a file". When you do this on our non-HP workstations, the file output ends up with the owner & group of the user. When I try to do the same thing on our HP-UX workstations, the file output ends up with owner & group of "lp". I'm thinking that somewhere along the way the lp daemon should be doing a switch-user to the users id. Does anyone know how to make this happen? Or, provide any information on where I might look next. Thanks.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-15-2004 11:57 AM
тАО05-15-2004 11:57 AM
Re: HP-UX 11.0 print to file problem
This exactly the way that lp (the SysV, not BSD) on HP-UX works. When you run the lp command, a token is dropped into the FIFO queue and your print job is copied to the request directory with the ownership assigned to lp. At that point, lp terminates. lpsched reads the FIFO queue for tasks to perform, but there is no connection between the original user and the spooler. So everything proceeds with the lp user.
You'll have to modify your printer script (probably installed by your application) to obtain the user's login from the command line and perform the required chown on the output file.
Bill Hassell, sysadmin
You'll have to modify your printer script (probably installed by your application) to obtain the user's login from the command line and perform the required chown on the output file.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2004 12:35 AM
тАО05-17-2004 12:35 AM
Re: HP-UX 11.0 print to file problem
I'll try to follow up on you suggestion. Thanks for the help.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP