From owner-freebsd-questions Thu Feb 26 17:46:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA19118 for freebsd-questions-outgoing; Thu, 26 Feb 1998 17:46:27 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA19047 for ; Thu, 26 Feb 1998 17:46:05 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id RAA00880; Thu, 26 Feb 1998 17:45:59 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Thu, 26 Feb 1998 17:45:59 -0800 (PST) From: Doug White Reply-To: Doug White To: Leonardo Madrigal cc: freebsd-questions@FreeBSD.ORG Subject: Re: printing In-Reply-To: <34F5C718.D68BE0CC@acnet.net> 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 On Thu, 26 Feb 1998, Leonardo Madrigal wrote: > Hi.... > i have a unix machine with a working samba .... > and a win95 machien with a HP printer... > and if i type > > cat file |print > (print is a scritp for printing with the smbclient) > i print... > but i want to make another thing > ..so when y type > lpr file > i would like to print on windows95 > > how can i do that...? Create a printcap entry and set the input filter to your print script. lp|Windows printer\ :lp=/dev/null\ :sd=/var/spool/lpd/lp\ :if=/usr/local/bin/print\ :mx#0\ :sh: Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message