From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,84c5c8c8851d1a8d X-Google-Attributes: gidf7344,public X-Google-Thread: 10b612,84c5c8c8851d1a8d X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,84c5c8c8851d1a8d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-08-25 12:25:47 PST Xref: gmd.de comp.unix.ultrix:10650 comp.sys.dec:9700 comp.os.vms:29497 Path: gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!mcsun!chsun!pegasus.ch!loser_r From: loser_r@pegasus.ch Newsgroups: comp.unix.ultrix,comp.sys.dec,comp.os.vms Subject: Re: Printing on remote machines thru Ultrix Message-ID: <1993AUG25.162537.29@pegasus.ch> Date: 25 Aug 93 16:25:37 +0200 References: Organization: Pegasus BBS, Switzerland Hi Jim I'm using a DEC_Station 5000/33 with Ultrix V4.2A. Also we have a VMS Cluster with VAX 6310&6410. I print from my Station with LAT to the same Laserprint that the VMS-Queu does. I add my LASER Printers with the /etc/lprsetup procedure. It is really easy to do. Just take care by follows parameters: ct=lat Option for lat ts=SERVER Name from Terminalserver (probably UPPERCASE) op=PORT_1 Port Number (probably UPPERCASE) sh=:\ Switch on for no Banner And be sure to configure the Terminal Server Port with LATGROUPS for 0-255. Otherwise you can't do a connection to the printer. Also check the device on the Ultrix Station. Mostly you have to add a new device in the /etc/rc.local file or to change the /etc/ttys file. I preffer to do the changes in the /etc/rc.local file : example from my rc.local file if [ -f /etc/lcp ] ; then /etc/lcp -s -h /dev/tty10 >/dev/console /etc/lcp -h /dev/tty09 >/dev/console /etc/lcp -h /dev/tty08 >/d /etc/lcp -h /dev/tty07 >/dev/console /etc/lcp -h /dev/tty06 >/d /etc/lcp -h /dev/tty05 >/dev/console /etc/lcp -h /dev/tty04 >/dev/console fi ----------------------------------------- For more details see in the SYSTEM AND NETWORK MANAGEMENT Volume 4 Chpt 3.3.1 Hope that I could help you ,,, (o o) ----------oOO---(_)---OOo------ - / _ /_ ___ /__/_ ___ /__ / __ / __/__ /TRAAAA _/__/____ /__ Greetings RETO In message , jastewar@pilot.njin.net (Jim Stewart) writes: > > > 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