- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- LPR printers requiring department codes
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
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
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-15-2009 12:41 PM
тАО07-15-2009 12:41 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 02:30 PM
тАО07-15-2009 02:30 PM
SolutionHere's an example of the required syntax over on a Linux box:
lpr -P 358c -o DeptCode=True -o DCDigit1=1 -o DCDigit2=0 -o DCDigit3=2 -o DCDigit4=0 -o DCDigit1=5 filename
This is for department code 10203.
This from:
http://zzz.physics.umn.edu/computing/department/unix/printing
A local port of lpr may be feasible, though many Unix boxes are using CUPS for printing these days.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-15-2009 10:06 PM
тАО07-15-2009 10:06 PM
Re: LPR printers requiring department codes
so I can't get involved.
But if you haven't solved it by then, send me a mail.......and I will take a look at it.
Hakan
AKA The Diplomead Printerguru
hakan(dot)zanderau(at)ha-solutions(dot)se
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2009 11:21 AM
тАО07-17-2009 11:21 AM
Re: LPR printers requiring department codes
First I created a setup module containing just (all one line)
then the form (may wrap, one long DCL cmd line):
$ def/form lanier_p 1201 /mar=(top=0,bott=0) /nowrap/notrun /wid=133 /SETUP=(RESET,LANIER-USER) /len=60
Then the user prints using this form
PRINT/FORM=LANIER_P/QUE=xxx filename.LIS
Naturally there are all kinds of security issues with using a TLB library in this way ...
For my requirements, it was enough to use a special dedicated Library for this individual queue and have that queue have ACLs to control who could print to it.
Verne
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2009 12:30 PM
тАО07-20-2009 12:30 PM
Re: LPR printers requiring department codes
Looks like I'll be sticking with my first response to the client, "No, I don't think we'll be able to do that."
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-12-2009 01:37 AM
тАО11-12-2009 01:37 AM
Re: LPR printers requiring department codes
I have looked at the PC-driver, and the departmentcode is set on the queue.
( output from PC )
.
.
@PJL SET HOLDKEY = ""
@PJL COMMENT EFIPJL SET UNAME = "Gandalf"
@PJL COMMENT EFIPJL SET DEPARTMENTCODE = "13579"
@PJL SET HOLDTYPE = PUBLIC
@PJL SET HOLD = OFF
.
.
You could add a couple of queues on a windowsserver, with different departmentcodes
and then relay your LPD-queues through the windowsserver.
That's the fast answer.......and bypasses most problems in VMS.
I have located a Toshiba eStudio45 nearby where I think I could get access to connect my OpenVMS system.......
I have worked as PrintProblemSpecialist in the VMSsupportteam at Digital/Compaq/HP in Stockholm, Sweden.
I will try to solve this, even if you don't need this function anymore.
regards,
Hakan Zanderau