From owner-freebsd-questions Thu Apr 12 14: 0: 9 2001 Delivered-To: freebsd-questions@freebsd.org Received: from andrsn.stanford.edu (andrsn.Stanford.EDU [171.66.112.163]) by hub.freebsd.org (Postfix) with ESMTP id 9A6AA37B422 for ; Thu, 12 Apr 2001 14:00:06 -0700 (PDT) (envelope-from andrsn@andrsn.stanford.edu) Received: from localhost (andrsn@localhost.stanford.edu [127.0.0.1]) by andrsn.stanford.edu (8.9.3/8.9.1) with ESMTP id NAA64589; Thu, 12 Apr 2001 13:55:23 -0700 (PDT) Date: Thu, 12 Apr 2001 13:55:23 -0700 (PDT) From: Annelise Anderson To: "Elliot L. Tobin" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Passwordless Printing In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I think the handbook chapter on printing covers this in detail. But to be brief, you set up in /etc/printcap on A a printer using the rm: capability (remote machine) and the rp: capability (which port on the remote, or B, machine). On B you use /etc/hosts.lpd to tell lpd (which you run on B too) to accept jobs from A. Printing on B from Netscape on A would be possible if you can give Netscape a print command (I think there's an option for this). Annelise On Thu, 12 Apr 2001, Elliot L. Tobin wrote: > I have setup ssh so that I can login to remotehost B from my local > machine, A. Since there is no print server running on A, how can I pipe a > file to machine B, and print from there? > > I realize I could scp file user@b:~/tmp/tmp && ssh user@b -q qpr -q smips > /tmp/tmp ... Is there a simpler way? > > Lastly, how can I do this, print from A onto B, from Netscape? I know > Netscape makes a temporary file before it prints, but I don't know how to > determine what that filename is, or where it is... > > Thanks for any advice you can offer, > > EllioT > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message