Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Printing on remote machines thru Ultrix
@ 1993-08-11  1:33 Jim Stewart
  1993-08-25 14:25 ` loser_r
  0 siblings, 1 reply; 2+ messages in thread
From: Jim Stewart @ 1993-08-11  1:33 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Printing on remote machines thru Ultrix
  1993-08-11  1:33 Printing on remote machines thru Ultrix Jim Stewart
@ 1993-08-25 14:25 ` loser_r
  0 siblings, 0 replies; 2+ messages in thread
From: loser_r @ 1993-08-25 14:25 UTC (permalink / raw)


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 <Aug.10.21.33.18.1993.24853@pilot.njin.net>,
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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1993-08-25 14:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-08-11  1:33 Printing on remote machines thru Ultrix Jim Stewart
1993-08-25 14:25 ` loser_r

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox