- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- LPD on non-standard port
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
тАО05-11-2007 12:19 PM
тАО05-11-2007 12:19 PM
LPD on non-standard port
So, I've got a bunch of users with printers at home. They want to be able to print from OpenVMS to their printers.
I thought that it would be easy to setup a remote SSH tunnel (515:localhost:20001) so that the VMS system could send an LPD job to the PC's port 515 via the local VMS port 20001.
Everything worked okay until I tried to print. It turns out that the LPD Symbiont choked on a print command of the format:
$ Print /Queue=TCPIP$LPD_Out/Param=(host=localhost:20001,printer=PCprinter) testprint.txt
It didn't know what to do with the 20001; the specific error message was:
Job TESTPRINT (queue TCPIP$LPD_OUT_WOODY_1, entry 3084) terminated with error status
%NONAME-E-NOMSG, Message number 0764A05A
And in the TCPIP$LPD_OUT_WOODY_1.LOG file, I got:
%TCPIP-E-LPD_SYNERR, syntax error when parsing /PARAMETER=:20001
Does anyone know of any way to allow for non-standard LPD ports in TCP/IP Services?
I really wanted to do it this way, so as to not expose port 515 through the VPN, rather it would be tunneled in a secure connection. Additionally, it would prevent users from getting stale DNS data when a new user logged in to the VPN, and having the print job for UserA get dumped on UserB's printer. (Accomplished by each user getting a different port for their SSH tunnel.)
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2007 06:42 PM
тАО05-11-2007 06:42 PM
Re: LPD on non-standard port
the Wizard suggested to use TELNETSYM for printing on non-standard ports.
http://h71000.www7.hp.com/wizard/wiz_8115.html
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2007 06:46 PM
тАО05-11-2007 06:46 PM
Re: LPD on non-standard port
I've found '-LPD port configurability' (whater that means) mentioned in the TCP/IP proposed roadmap for 2009
http://h41267.www4.hp.com/filelib/se/sv/632971892320468750_TCP%20IP.pdf
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2007 11:14 PM
тАО05-11-2007 11:14 PM
Re: LPD on non-standard port
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2007 12:45 AM
тАО05-12-2007 12:45 AM
Re: LPD on non-standard port
The particular firewalls and printers and firewalls and connection patterns are key here.
There are various ways to go after this, most involving port mapping at the firewall if lpr/lpd is a lock. Others have mentioned telnet and raw.
An approach I'd likely investigate here is to bridge the networks using a SOHO firewall, though keeping the malware inevitably running on the home network blocked from the corporate network as best as feasible. A SOHO-oriented server (or printing via the current client) on the home LAN can be used, as well. As part of connecting in, the corporate firewall targets the printer(s).
Another option is a custom print symbiont that checks the access and the network, and then launches the print job. That's rather more coding, but feasible.
I'd be tempted to look into IPv6, if that's available for your client hosts. That gives you unique addresses for your printers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 01:56 AM
тАО05-14-2007 01:56 AM
Re: LPD on non-standard port
Telnetsym would allow me to use DCPS, which would be even better, from my perspective!
FWIW, I am broaching the subject with our firewall/VPN team, although I know in the past they have discouraged the use of LPD (not sure if that was outbound LPD, though).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 03:11 AM
тАО05-14-2007 03:11 AM
Re: LPD on non-standard port
Going direct to a NIC-based printer is far easier to configure and to support, in my experience. Even if you have to create and open up port mapping through the firewall and from there along to the printer. Or open up IPv6 access, as that's way harder to port-scan.
How many clients are we discussing? Do only fixed sites require this printing, or does this involve mobile access?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-14-2007 03:48 AM
тАО05-14-2007 03:48 AM
Re: LPD on non-standard port
I'm looking at 8 clients at the most for this config. We're just talking about a small group of home-based developers.
NIC-based printers are out of the question, as the printers were purchased and delivered without consulting our needs (I was lucky that I spoke up and said PCL/Postscript was essential, and even luckier that the LJ3050 was their default choice for multifunction printers. I'd probably been SOL if it hadn't!)
LPD is by far the cleanest implementation, although it does not allow any of the functionality that DCPS would provide.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-16-2007 07:19 PM
тАО05-16-2007 07:19 PM
Re: LPD on non-standard port
I am unable to test in this moment, but looking at your command:
$ Print /Queue=TCPIP$LPD_Out/Param=(host=localhost:20001,printer=PCprinter) testprint.txt
The DCL parser will probably see as /Param=(host=localhost=20001,printer=PCprinter).
Try to put localhost:20001 in braces:
$ Print /Queue=TCPIP$LPD_Out/Param=(host="localhost:20001",printer=PCprinter) testprint.txt
Bojan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-17-2007 03:15 AM
тАО05-17-2007 03:15 AM
Re: LPD on non-standard port
But. *sigh* No joy.
%TCPIP-E-LPD_SYNERR, syntax error when parsing /PARAMETER=:20001
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2007 05:40 AM
тАО05-18-2007 05:40 AM
Re: LPD on non-standard port
$ Print /Queue=TCPIP$LPD_Out/Param=(~host=localhost:20001~,printer=PCprinter) testprint.txt
and
$ Print /Queue=TCPIP$LPD_Out/Param=(~host=~~localhost:20001~~~,printer=PCprinter) testprint.txt