- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: HP 9050 printer and multiple UNIX queues
Operating System - OpenVMS
1753792
Members
7392
Online
108799
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
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
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
тАО08-01-2006 07:31 AM
тАО08-01-2006 07:31 AM
HP 9050 printer and multiple UNIX queues
Does anyone know how to create multiple queues in Unix all queues would point to the same printer.
We are trying to create multiple queues for the same printer and within each queue we want to direct the print job to a designated tray.
For example
Queue1 (PRT01) would go to tray 1
Queue2 (PRT01) would go to tray 2
Queue3 (PRT01) would go to tray 3
Thanks in advance
We are trying to create multiple queues for the same printer and within each queue we want to direct the print job to a designated tray.
For example
Queue1 (PRT01) would go to tray 1
Queue2 (PRT01) would go to tray 2
Queue3 (PRT01) would go to tray 3
Thanks in advance
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2006 07:52 AM
тАО08-01-2006 07:52 AM
Re: HP 9050 printer and multiple UNIX queues
Not exactly an OpenVMS question, but we do it like this:
1. Create a file with the control sequence your print uses to select each tray.
2. Create a script that concatenates the control sequence file with the data to be printed:
/bin/cat /usr/spool/lpd/tray3esc - | lpr -h -PPFMA03
3. Use the script as the input filter in your printcap entry - e.g:
PUWFMIRX:\
:if=/usr/spool/lpd/PUWFMIRX-pcl3:\
:lf=/usr/spool/lpd/PUWFMIRX.log:\
:lp=@puwfmi/hplj:\
:mx#0:\
:pl#66:\
:pw#80:\
:of=/usr/lbin/hplaserof:\
:sd=/usr/spool/lpd/PUWFMIRX:\
:rw:\
:xf=/usr/lbin/xf:
/usr/spool/lpd/PUWFMIRX-pcl3 is the script with the 'cat' command shown above. (Note: this entry is for an HP LaserJet printer. Yours may well look a lot different. The key is the 'if' setting.)
Repeat as necessary for each tray.
1. Create a file with the control sequence your print uses to select each tray.
2. Create a script that concatenates the control sequence file with the data to be printed:
/bin/cat /usr/spool/lpd/tray3esc - | lpr -h -PPFMA03
3. Use the script as the input filter in your printcap entry - e.g:
PUWFMIRX:\
:if=/usr/spool/lpd/PUWFMIRX-pcl3:\
:lf=/usr/spool/lpd/PUWFMIRX.log:\
:lp=@puwfmi/hplj:\
:mx#0:\
:pl#66:\
:pw#80:\
:of=/usr/lbin/hplaserof:\
:sd=/usr/spool/lpd/PUWFMIRX:\
:rw:\
:xf=/usr/lbin/xf:
/usr/spool/lpd/PUWFMIRX-pcl3 is the script with the 'cat' command shown above. (Note: this entry is for an HP LaserJet printer. Yours may well look a lot different. The key is the 'if' setting.)
Repeat as necessary for each tray.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-01-2006 07:54 AM
тАО08-01-2006 07:54 AM
Re: HP 9050 printer and multiple UNIX queues
I'm going to try that. Thank you for your quick response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2006 03:20 AM
тАО08-02-2006 03:20 AM
Re: HP 9050 printer and multiple UNIX queues
This scipt is to be tested today on our HpUx box.
If we have all print jobs starting and finishing in the order of the queues would we have an issue with the device(printer getting locked)? Thanks again for your help yesterday. I think this is our best shot.
I'll let you know how it goes.
If we have all print jobs starting and finishing in the order of the queues would we have an issue with the device(printer getting locked)? Thanks again for your help yesterday. I think this is our best shot.
I'll let you know how it goes.
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.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP