Subject: Re: remote printing
To: Brad Salai <bsalai@tmonline.com>
From: None <mcmahill@mtl.mit.edu>
List: port-mac68k
Date: 10/21/1998 10:04:13
On Wed, 21 Oct 1998, Brad Salai wrote:
> 
> I have a SparcPrinter working on a sparc IPX running SunOS 4.1.3, but I
> can't get a printcap entry on the macintosh running 1.3.2 that will print
> to it.
> 
> Has anyone done this who can send me a remote printcap entry.  The docs are
> a little confusing.


here is an example entry that lives on my Mac running 1.3.
to print, I do

lpr -Px3 filename

x3|HP4 in 38-107:\
        :rm=ellora.mit.edu:rp=x3:\
        :sd=/var/spool/lpd.x3:lf=/var/log/lpd-errs:\
        :sh:


rm=ellora.mit.edu  says the printer is attached to the comptuer called
  "ellora.mit.edu"
rp=x3  says that the printer in question is known as 'x3' on ellora.  In
  your case, look at /etc/printcap on your sunos box to see whats its
  called.
sd=/var/spool/lpd.x3 says that /var/spool/lpd.x3 is the spool directory on
  the mac.  You need to create this directory.
lf=/var/log/lpd-errs says to log errors to the file /var/log/lpd-errs
sh means suppress headers (ie, don't send a banner page).

Hope this helps.

-Dan