From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,84c5c8c8851d1a8d,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,84c5c8c8851d1a8d,start X-Google-Attributes: gid1164f8,public X-Google-Thread: 10b612,84c5c8c8851d1a8d,start X-Google-Attributes: gid10b612,public X-Google-ArrivalTime: 1993-08-10 18:41:07 PST Xref: gmd.de comp.unix.ultrix:10482 comp.sys.dec:9403 comp.os.vms:28554 Path: gmd.de!xlink.net!howland.reston.ans.net!math.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!doc.ic.ac.uk!uknet!pipex!uunet!dziuxsolim.rutgers.edu!pilot.njin.net!jastewar From: jastewar@pilot.njin.net (Jim Stewart) Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.os.vms Subject: Printing on remote machines thru Ultrix Keywords: printing,ultrix,vms Message-ID: Date: 11 Aug 93 01:33:19 GMT Followup-To: comp.unix.ultrix,comp.sys.dec Organization: Rutgers Univ., New Brunswick, N.J. Hi.. My site has a DEC 5500 running Ultrix 4.3 which we'd like to be able to print from. The "target" printers are connected to a VAX 6410 running VMS 5.5, which is part of a cluster with a VAX 6310, also running VMS 5.5. The 6410 is connected to the 5500 via DECNET. The 6310 and 5500 both have TCP/IP. I know I can use 'dcp' to print from the 5500 (dcp filename VAX001::LIA0: prints on the line printer connected to the 6410, for example). The problem with using dcp is that everything is printed with DECNET as a username, and there's no way to tell which machine the printout originated on. The line printer (LIA0:, a DEC LP27) is connected directly to the 6410. Currently, it's possible to print to a single laser printer connected to the VAX cluster. Someone else set it up though, and I'm not sure how it was done. There are other laser printers which I'd like to be able to print to; they're all connected to terminal servers. Here's the printcap entry for the working laser printer: Computer Services|lp1|comp:\ :af=/usr/adm/lp3acct:\ :br#9600:\ :ct=dev:\ :fc#0177777:\ :fs#03:\ :if=/usr/lib/lpdfilters/ln03of:\ :lf=/usr/adm/lp3err:\ :lp=/dev/tty63:\ :mc#20:\ :mx#0:\ :of=/usr/lib/lpdfilters/ln03of:\ :op=PORT_4:\ :os=:\ :pl#66:\ :pw#80:\ :rw:\ :sd=/usr/spool/lpd3:\ :ts=SMMF37:\ :uv=4.0:\ :xc#0177777:\ :xf=/usr/lib/lpdfilters/xf:\ :xs#044000: SMMF37 is the name of the terminal server the printer is connected to, and PORT_4 is the port on that server. Using 'lpr -Pcomp filename' to print to this printer works fine, and a header gets printed with the originating nodename, filename, date, etc. I'd like to be able to do this for another laser printer and the line printer. I tried duplicating the above entry and changing the terminal server and port entries for the other laser printer, but it didn't work. I'm pretty sure it has something to do with the 'lp=/dev/tty63' line, but I don't know what the connection is. Using lprsetup didn't help much either. The line printer seems like it'd be harder to tackle; it's not connected to any terminal servers, and the machine it's on isn't TCP/IP equipped. A few people suggested running lpd on the VMS end to reach the line printer (and maybe the laser printers too, this seems like a better way)..but the machine the line printer is connected to doesn't have TCP/IP and can't run lpd. The other machine in the cluster does have TCP/IP however, so perhaps there's a way to send the files to that machine for queueing. If anyone can help with this, or even point me in the right direction, it would be greatly appreciated. I haven't gotten very far on my own. It'd be great if someone would be willing to help me through this step by step, via email, or perhaps via telephone. --Jim jastewar@pilot.njin.net cntr25@odin.stockton.edu