[ale] Remote Printing.
Robert L Harris
nomad at rocky.orci.com
Mon Nov 17 00:23:25 EST 1997
>
> Permit me to set up a simple example, this may help you out:
>
> hostname1 = Your print spooler
> hostname2 = Your local machine
> hostname3 = Your printer (this may be different if the printer is LPT'd
> to your print spooler .. I'll cover that too)
>
> Basic Printcap for hostname1 (the spooler)
> ------------------------------------------
> If printer is networked:
>
> lp|printer_1:\
> :lp=:\
> :rm=hostname3:\
> :rp=hostname3:\
> :sd=/usr/spool/lpd/printer_1:
>
> If printer is LPT'd:
>
> lp|printer_1:\
> :lp=:/dev/deviceprinterisconnectedto\
> :sd=/usr/spool/lpd/printer_1:
>
> Basic Printcap for hostname2 (the local box)
> --------------------------------------------
>
> lp:\
> :lp=:\
> :rm=hostname1:\
> :rp=printer_1:
>
> As I said, this is a very basic example. However, sometimes it's
> easier to see how things are done, through example.
>
Looking at what you had got it. On the remote machine I'd defined "lp"
and not "treekiller" where the local machine had both. My $PRINTER
variable pointed to "treekiller" which explains why I got the unknown
host error. Thanks.
---------------------------------------------------------------------------
Robert L. Harris | If NT is the answer,
System Engineer For Hire. \_ you don't understand the question.
Email:
Robert at ast.lmco.com
http://www.orci.com/~nomad
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
More information about the Ale
mailing list