From owner-freebsd-questions@FreeBSD.ORG Mon May 24 19:59:28 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9F3C416A4CE for ; Mon, 24 May 2004 19:59:28 -0700 (PDT) Received: from auk1.snu.ac.kr (auk1.snu.ac.kr [147.46.100.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 328F243D39 for ; Mon, 24 May 2004 19:59:28 -0700 (PDT) (envelope-from stopspam@users.sourceforge.net) Received: from [147.46.44.181] (stopspam@users.sourceforge.net) by auk1.snu.ac.kr (Terrace Internet Messaging Server) with ESMTP id 2004052511:41:28:555004.24301.2918919088 for ; Tue, 25 May 2004 11:41:28 +0900 (KST) Message-ID: <40B2B682.9040908@users.sourceforge.net> Date: Tue, 25 May 2004 11:59:14 +0900 From: Rob User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6) Gecko/20040507 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <40B2A7B3.1060700@pacbell.net> In-Reply-To: <40B2A7B3.1060700@pacbell.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:6.09) (by Terrace) Subject: Re: Solved: FreeBSD as print server w/CUPS + samba + apsfilter X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2004 02:59:28 -0000 Mike wrote: > Greetings: > > This post is a result of 2 days of thrashing trying to get FreeBSD (4.9) > to act as a print server to Win2K/XP clients. I have included links to > a how-to that I wrote that includes a full install and configuration of > CUPS and Samba so that local (connected to server) printers print > locally, and so that that local printer(s) can then be shared (served) > as network printer amongst Windows 2k/XP clients. Why using for Samba for this? Win2K/XP can print over the ipp port, which is the native way of operation for CUPS. I have an HP LaserJet 4V attached to my FreeBSD 4-Stable PC. This printer is configured with the ipp protocol (I did configuration with the CUPS web interface; very easy to use!). The only file that I had to manually modify was /usr/local/etc/cups/cupsd.conf There I have a section: Order Deny,Allow Deny From All Allow From 127.0.0.1 Allow From a.b.c.d/n Where a.b.c.d/n is the usual ip/mask that allows people on that network to use the printer. Don't forget to open your firewall for the ipp print connection, something like ipfw add allow log tcp from a.b.c.d/n to me ipp via rl0 Rob.