From owner-freebsd-questions@FreeBSD.ORG Sun Aug 17 23:35:23 2003 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 ACB0837B401 for ; Sun, 17 Aug 2003 23:35:23 -0700 (PDT) Received: from gwdu60.gwdg.de (gwdu60.gwdg.de [134.76.8.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5357743FAF for ; Sun, 17 Aug 2003 23:35:22 -0700 (PDT) (envelope-from kheuer2@gwdg.de) Received: from gwdu60.gwdg.de (localhost [127.0.0.1]) by gwdu60.gwdg.de (8.12.8p1/8.12.8) with ESMTP id h7I6ZLdA074640; Mon, 18 Aug 2003 08:35:21 +0200 (CEST) (envelope-from kheuer2@gwdg.de) Received: from localhost (kheuer2@localhost)h7I6ZKFG074637; Mon, 18 Aug 2003 08:35:20 +0200 (CEST) X-Authentication-Warning: gwdu60.gwdg.de: kheuer2 owned process doing -bs Date: Mon, 18 Aug 2003 08:35:20 +0200 (CEST) From: Konrad Heuer To: RA Cohen In-Reply-To: <20030818013726.20016.qmail@web13901.mail.yahoo.com> Message-ID: <20030818083359.Y74623-100000@gwdu60.gwdg.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: SAMBA 2.2.8a, FBSD 4.8 Release Win2K Remote Print Issues 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: Mon, 18 Aug 2003 06:35:24 -0000 On Sun, 17 Aug 2003, RA Cohen wrote: > I trust this is the correct list for this post. I have been > wrestling literally for days with SAMBA/Win2K remote printing. > Here is the architecture: > > qty 1- FBSD SAMBA Server PDC > qty 2- Network printers (an HP LJ2100 with Built-in net card, > and a Canon 6500 printer/copier also with built-in nic. > qty 50+ - Win2K Clients > > SAMBA file sharing works great, and after much trial and error, > so does the printing but only to ONE printer -- the one > identified as 'lp'. I can successfully print from the FBSD box > to each remote printer in the printcap with: > > lpr -Pprinter testfile.name . > > This tells me the printcap is working as are my print queues. > But when trying to print from the Win2K clients, I only get > output to one of the printers (the one I define as lp). I think > what is happening is that the lp: definition in the printcap > defaults to /dev/lp which then goes to the aforementioned > printer... > > Can someone please set me straight? I am about to lose my mind, > my wife, and probably some other important things in my life! > > Here is my smb.conf: > > # APS1_BEGIN:printer1 > # - don't delete start label for apsfilter printer1 > # - no other printer defines between BEGIN and END LABEL > lp|mainoffhp2100|pcl3:\ > :rp=raw:\ > :rm=192.168.1.114:\ > :sd=/var/spool/lpd/mainoffhp2100:\ > :mx#0:\ > :sh: > # APS1_END - don't delete this > # BEGIN PRINTER2 > lp2|mainoffcanon|copier:\ > :rp=raw:\ > :rm=192.168.1.20:\ > :sd=/var/spool/lpd/mainoffcanon:\ > :mx#0:\ > :sh: > # PRINTER2 END > > Thank you in advance for your help! This looks like /etc/printcap and seems to be o.k. But where's your smb.conf? Regards Konrad Heuer (kheuer2@gwdg.de) ____ ___ _______ GWDG / __/______ ___ / _ )/ __/ _ \ Am Fassberg / _// __/ -_) -_) _ |\ \/ // / 37077 Goettingen /_/ /_/ \__/\__/____/___/____/ Germany