GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lp request copy to 2 printer
Operating System - HP-UX
1850704
Members
4750
Online
104055
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
back
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-30-2007 06:53 PM
05-30-2007 06:53 PM
lp request copy to 2 printer
Hi
How can I make a request going to one print queue also go to another queue/printer?
We cannot, easily, modify the application to create requests for the 2 printers.
We need this feature to debug unreliable printing.
hp-ux 11.11, networked HP printers.
--
Thanks in advance
Tonny
How can I make a request going to one print queue also go to another queue/printer?
We cannot, easily, modify the application to create requests for the 2 printers.
We need this feature to debug unreliable printing.
hp-ux 11.11, networked HP printers.
--
Thanks in advance
Tonny
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-30-2007 09:10 PM
05-30-2007 09:10 PM
Re: lp request copy to 2 printer
I found out that I could modify the printers script in /etc/lp/interface.
In this script, after the rlp command, I
* copy the printfile
* print to new destination also
* remove copied printfile
/usr/sbin/rlp -I$requestid .....$1
cp -p $1 /tmp/XX
/usr/bin/lp -dNEWPRINTER /tmp/XX
rm /tmp/XX
--
Best regards
Tonny
In this script, after the rlp command, I
* copy the printfile
* print to new destination also
* remove copied printfile
/usr/sbin/rlp -I$requestid .....$1
cp -p $1 /tmp/XX
/usr/bin/lp -dNEWPRINTER /tmp/XX
rm /tmp/XX
--
Best regards
Tonny
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
Events and news
Customer resources
© Copyright 2026 Hewlett Packard Enterprise Development LP