Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 1998 17:45:59 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Leonardo Madrigal <lmadrig@acnet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: printing
Message-ID:  <Pine.BSF.3.96.980226174423.817I-100000@gdi.uoregon.edu>
In-Reply-To: <34F5C718.D68BE0CC@acnet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980226174423.817I-100000>