- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Print non-stream files to PC using LPD
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
тАО06-12-2007 06:29 AM
тАО06-12-2007 06:29 AM
The printers in this case are PCL and PostScript compatible HP LaserJet 3050s. The OpenVMS system is running 7.3-2 and TCP/IP services version 5.4 ECO 6.
When I print a stream file, everything looks okay. When I print files with other record formats (specifically, I've tested stream lf and variable length) the output looks like it's just getting a line feed and no carriage return.
I've tried setting the default print processor type on Windows to be text, but that didn't help any.
Has anyone seen anything like this? Do you have any suggestions?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 07:02 AM
тАО06-12-2007 07:02 AM
Re: Print non-stream files to PC using LPD
This can be automated by putting a queue in front of the LPD queue, which does the converion and the queues the resulting (temporary) file to the destination LPD queue.
One possibility is to use the EXECSYMB symbiont (on the freeware). It would run a simple script to do the conversion, then queues the resulting file. An example for setting up an execsymb script is my CNV_ANSI_PS.COM in
http://wwwvms.mppmu.mpg.de/vms$common/execsymb/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 07:09 AM
тАО06-12-2007 07:09 AM
Re: Print non-stream files to PC using LPD
I'm wondering if prefacing the LPD queue with a telnet symbiont queue might help. I've researched all the LPD logicals and configuration files, but not found anything that would help in this circumstance. I may have to start searching through the telnet symbiont settings next.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 08:29 AM
тАО06-12-2007 08:29 AM
Re: Print non-stream files to PC using LPD
("Awfully ugly" certainly describes a host-based LPR/LPD connection routed through several firewalls and various VPNs and into an attached printer. The ugliest part is the "attached printer" part.)
Whatever software that is printing the files needs to convert the files from something -- vfc, var -- that isn't recognized on Windows into something that is. Either within a symbiont, or prior to the PRINT command, or...
Alternatively, replace these printers with printers that support networking. Host-based printing is usually more effort than it is worth; a network-attached printer is far easier to manage on all platforms. With a network-attached Postscript printer, you can use DCPS to sling the data directly. Well, directly via the firewalls and VPNs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2007 12:05 PM
тАО06-12-2007 12:05 PM
SolutionHave a look at the section on "relay queues" in this link
http://ftp.openvms.compaq.com/doc/83final/6526/6526pro_055.html
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 12:57 AM
тАО06-13-2007 12:57 AM
Re: Print non-stream files to PC using LPD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 07:06 AM
тАО06-13-2007 07:06 AM
Re: Print non-stream files to PC using LPD
I did double check the printer's settings to see if there was any way to do that, but to no avail.
Still scratching my head...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 07:12 AM
тАО06-13-2007 07:12 AM
Re: Print non-stream files to PC using LPD
"Well, directly via the firewalls and VPNs."
The problem is, the VPN is hosted on the PC. So regardless of whether the printer is attached to the PC or to the network, it *still* has to go through the PC. So, no matter how demeaning it may be to have to use a PC in this equation, I'm stuck with it, just like I'm stuck with the brand new multifunction HP printers that were bought for these users.
So, given that I can't use reverse telnet (no such client on the PC nor printer), I have to use LPD.
I'm heading home in a few minutes to run some tests on a relay queue, but I have doubts it will -- nay, I'm certain it won't -- re-parse the LF's. Any other ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 09:36 AM
тАО06-13-2007 09:36 AM
Re: Print non-stream files to PC using LPD
I just don't purchase printers without NICs any more. The few dollars saved are definitely not worth the costs that are incurred downstream. Going a little more expensive on a printer up front can provide substantial savings on configuration and operation, and -- often -- on the costs of the consumables. And you don't have to deal with getting a host-based printer to work -- every system prints directly.
As for your root question, you're going to have to alter the format of the file before shipping it over the network. Whether this is via TCP/IP Services lpr or via some local or customized lpr or via a local symbiont that then pipes the output over to lpr (or lpd), or via a file format conversion beforehand (manually, as part of the PRINT, etc), you're going to have to sort out a way to do it. Not fun, I know.
It might be worth tossing a request at HP to consider implementing file-level conversion operations in lpr. Other parts of TCP/IP Services -- the NFS ADF stuff, for instance -- already have to deal with this sort of conversion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2007 10:00 AM
тАО06-13-2007 10:00 AM
Re: Print non-stream files to PC using LPD
Creating the relay queue did the trick. Now all my text file printouts come out properly wrapped regardless of the file record format.
Thanks for reminding me about relay queues, Phil!