- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- print on two devices at once
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
07-30-2003 06:30 AM
07-30-2003 06:30 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:52 AM
07-30-2003 06:52 AM
SolutionTo do this you essentially create a new printer, point it to an exixting ptr & then modify it's interface to also kick out a job to the other.
This is an example lpstat output:
# lpstat -t
scheduler is running
no system default destination
device for LS5000bw: /dev/null
remote to: 1_5000_2bw on 11.222.11.22
device for LS4500C: /dev/null
remote to: 1_4500_1cl on 11.222.22.23
device for LSboth: /dev/null
remote to: 1_4500_1cl on 11.222.11.22
LS5000bw accepting requests since Sep 23 19:31
LS4500C accepting requests since Sep 23 19:32
LSboth accepting requests since Sep 23 20:02
printer LS5000bw is idle. enabled since Sep 23 19:31
fence priority : 0
printer LS4500C is idle. enabled since Sep 23 19:32
fence priority : 0
printer LSboth is idle. enabled since Sep 23 20:02
fence priority : 0
printer queue for LS5000bw
JetDirect lpd: no jobs queued on this port
hpkc231: LS5000bw: ready and waiting
printer queue for LS4500C
JetDirect lpd: no jobs queued on this port
hpkc231: LS4500C: ready and waiting
printer queue for LSboth
JetDirect lpd: no jobs queued on this port
hpkc231: LSboth: ready and waiting
no entries
In this case LSboth points to LS5000bw when created.
Here's the entry you'd put in LSboth interface - /etc/lp/interface/LSboth
lp -dLS4500C $1
The normal I/F functions will send the job to LS5000bw & the line you add sends it to LS4500C as well.
Then when you want both printouts send it to LSboth.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 06:56 AM
07-30-2003 06:56 AM
Re: print on two devices at once
# lp -dDEST1 FILE && lp -dDEST2 FILE
where: DEST1 and DEST2 are the two printers the file "FILE" is sent to.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 07:47 AM
07-30-2003 07:47 AM
Re: print on two devices at once
And do you think this will work on non-jetdirect printer?? Thank you again!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2003 08:00 AM
07-30-2003 08:00 AM
Re: print on two devices at once
I generally put it down towards the bottom, right before the standard rlp command used for the "actual" printer.
And both of these printers are setup as remote printers, not network or JetAdmin style printers even though they are HP printers & have JetDirect I/Fs on them. I don't have JetAdmin SW on my workstation so I just define them as remote.
Rgds,
Jeff