- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- multiple printers on the same queue
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
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
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-24-2000 12:33 AM
тАО02-24-2000 12:33 AM
multiple printers on the same queue
printers at the same time. Your assistance is greatly appreciated.
Simplest question of the day,
---Kyle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2000 06:32 PM
тАО02-24-2000 06:32 PM
Re: multiple printers on the same queue
You can just write a script and print using it
it can be verry simple like this
lp -dprinter1 $1
lp -dprinter2 $1
lp -dprinter3 $1
you willprint the file in all printers you define
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2000 12:18 AM
тАО02-25-2000 12:18 AM
Re: multiple printers on the same queue
that I have the option of placing the job in the print queue. Unfortunately, I
don't. The job is placed into the print queue by an application. If I can
customize the app. to accept a script as it's output then it may work. Thanks
again and any other tips are appeciated.
---Kyle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2000 06:42 AM
тАО02-25-2000 06:42 AM
Re: multiple printers on the same queue
How are the printers set up? Are these set up through JetAdmin (network
printer) or as a Remote printer or are they local printers?
I was able to modify one of the model scripts. Here is my example:
I have defined two printers via JetAdmin:
printer1
printer2
I decided to modify "printer1" to also send a job to "printer2" as well. We
added the following line to the /etc/lp/interface/printer1 file:
. . .
#
# Save the stderr messages in a temporary log file
# and discard stdout which is the peripheral output.
$REALMODEL $job $user "$title" $copy "$options" $files | $HPNPF $HPNPFOPT
2>>$LOG > /dev/null
cat $files | /usr/bin/lp -dprinter2 <--Added this line.
retcode=$?
if [ "$retcode" -eq 0 ]
then
. . .
This has seemed to work for me. So when ever I send a print job to the print
queue "printer1" to will automatically send it to "printer2."
Good Luck!
-Moe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-29-2000 12:13 AM
тАО02-29-2000 12:13 AM
Re: multiple printers on the same queue
works well for the JetDirects and I can live without the Remotes for now.
Thanks again - this works well.
---Kyle