- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Printing to remote printers on IP Terminal Servers
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
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
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
10-22-2001 12:11 AM
10-22-2001 12:11 AM
Printing to remote printers on IP Terminal Servers
I am wondering in anyone can give me some clues or pointers as to getting HP-UX 11i printing to some old ASCII dot matrix printers I have on DEC Terminal servers. I am not sure how to get this to work in the HP-UX environment.
In the Tru64 UNIX environment the printcap file entry for this would be:
# la210 in stores
stores|lp6|stores: :lf=/usr/adm/lp6err: :lp=@172.20.1.8/telnet_7: :mx#0: :of=/usr/lbin/la324of: :pl#66: :pw#132: :sd=/usr/spool/lpd6: :sf: :sh: :xf=/usr/lbin/xf:
Note the entry for:
:lp=@172.20.1.8/telnet_7:
How is the equivalent of this done in HP-UX ?
Any help appreciated.
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:31 AM
10-22-2001 12:31 AM
Re: Printing to remote printers on IP Terminal Servers
Youre going to need your own customized interface script for your printer queue in /var/spool/lp/interface/
We use some also for some old dumb line printers. Ive attached one so you can see what it looks like.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:39 AM
10-22-2001 12:39 AM
Re: Printing to remote printers on IP Terminal Servers
Thanks for that, I'll review it and try and work it out.
Do you know how to actually get it to talk to the telnet port 7 on the terminal server ie. from lp=@172.20.1.8/telnet_7 ??
Regards,
Rob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 12:51 AM
10-22-2001 12:51 AM
Re: Printing to remote printers on IP Terminal Servers
Im afraid I dont even know if its possible to direct prints to a particular telnet port from HP-UX. Sorry. Hopefully youve got a terminal server with an IP which knows how to redirect (or only has the dump printer you want to print to on it) or youre going to have to think of attaching a get direct box to the dump printer to get it an IP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 01:21 PM
10-22-2001 01:21 PM
Re: Printing to remote printers on IP Terminal Servers
If you have the jet admin product ( yes it has been replaced by a different hp product ) you can set the PERIPH= line to the host or IP address of the terminal server. Then set the PORT= line to the TCP port being used. Do the following.
lpadmin -pprinter_name -v/dev/null -m dumb
accept printer_name
enable printer_name
cp /etc/lp/interface/printer_name to /etc/lp/interface/model.orig/printer_name
cp /opt/hpnp/sh/hpnp.model /etc/lp/interface/printer_name
make sure the owner and permissions are correct on all the files that you copied ( i.e. owner lp and at least r-xr-wr-x ).
edit the PERIPH= and PORT= lines in the /etc/lp/interface/printer_name as metioned above.
Give it a shot. You may be able to do the same thing with the new HP Jet Direct product ( can't remember the name but it is on the HP website for download ).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 11:11 PM
10-22-2001 11:11 PM
Re: Printing to remote printers on IP Terminal Servers
you need to read up on ddfa and ocd using the man pages and also documents at docs.hp.com
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B1030-90042/B1030-90042_top.html&con=/hpux/onlinedocs/B1030-90042/00/00/9-con.html&toc=/hpux/onlinedocs/B1030-90042/00/00/9-toc.html&searchterms=ddfa&queryid=20011023-001409
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2001 11:30 PM
10-22-2001 11:30 PM
Re: Printing to remote printers on IP Terminal Servers
I think i have some third party daemons for you. let me find it out , i will post it by tomorrow
kaps