From owner-freebsd-questions Sun Dec 2 12:48:21 2001 Delivered-To: freebsd-questions@freebsd.org Received: from corten2.billschoolcraft.com (adsl-63-193-247-201.dsl.snfc21.pacbell.net [63.193.247.201]) by hub.freebsd.org (Postfix) with ESMTP id A78D937B416 for ; Sun, 2 Dec 2001 12:48:15 -0800 (PST) Received: from corten8.billschoolcraft.com ([192.168.7.8]) by corten2.billschoolcraft.com with esmtp (Exim 3.22 #1 (Debian)) id 142HLv-0001B0-00; Sat, 02 Dec 2000 10:25:39 -0800 Date: Sun, 2 Dec 2001 10:31:31 -0800 (PST) From: Bill Schoolcraft X-X-Sender: To: Andreas Ntaflos Cc: Subject: Re: Printing from windows via Samba (printer found ok, but not printing) In-Reply-To: <20011202185452.B28248@Deadcell.ANT> Message-ID: System-ID: [en] (I; Linux-2.4.7-10 i86pc) MIME-Version: 1.0 Content-Type: MULTIPART/Mixed; BOUNDARY=3V7upXqbjpZ4EhLz Content-ID: Content-Disposition: INLINE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --3V7upXqbjpZ4EhLz Content-Type: TEXT/PLAIN; CHARSET=US-ASCII Content-ID: Content-Disposition: INLINE At Sun, 2 Dec 2001 it looks like Andreas Ntaflos composed: > Hello and good evening, > > I've got that little problem with printing from win2k an a HP DeskJet 930 > connected to my FreeBSD box. > ..... what version of Samba ? > Basically, I have struggled with setting up samba to allow every machine > on the network to set up a network printer via the Add New Printer > wizard, which worked fine eventually, the printer is found and the driver > installed. ..... i had to go to Samba-2.2.2 and use the "new" (only in 2.2.2) smb.conf options of: use client driver = yes disable spoolss = yes and then I deleted "ALL" the printers drivers on the Windows-2000 machine and when I setup the printer, found the printer share, I RE_loaded the printer driver(s) "DESPITE" Windows still showing them in it's database. it apparently, as the (2.2.2) manpage for smb.conf states, will allow the windows2000 box to "then" see the remote printer as a local one. as _i_ understand it this is new in 2.2.2 and not in anything less than 2.2.2. all i know is that it works for me and now ALL the win2k boxes on my internal lan here at home prints to the Epson-777 Stylus Color inkjet without instance. (note) there is a "nagger" that pops up with the Windows2000 boxes related to the Epson software in it's "Printer_Monitor" trying to read and report ink levels as it's used to doing and _I_ believe its the fact that windows is now fooled into thinking the printer is local and not two hops away through the [1]unix box, then [2]the hub. i'm printing to an epson-777 that has a "edimax mini-printserver" attached to the back of it (really cool product for $40) and has a static ip address via plugged into a common hub. i first set the printer up to print flawlessly from the unix box in color from netscape to the networked printer (my test for a printer to be considered as working) > I've read the stuff over at www.mostgraveconcern.com/freebsd (the FreeBSD > Cheat Sheets) and Chapter 8 of the FreeBSD Corporate Networker's Guide > which helped quite a lot. But now I am kind of lost. I'll take a guess that those two sources of information (I own ALL the FreeBSD books including the latest "Unleashed.." were not printed "after" Samba-2.2.2, I may be wrong. -- Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life." _\_v http://forwardslashunix.com --3V7upXqbjpZ4EhLz Content-Type: TEXT/PLAIN; CHARSET=us-ascii Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME="smb.conf" [global] workgroup = Shithead server string = "Deadcell - FreeBSD 4.4-STABLE Samba %v" ; socket options = TCP_NODELAY ; socket options = IPTOS_LOWDELAY guest account = pcguest browseable = yes print command = lpr -s -P %p %s;rm %s ; taken from the FreeBSD Networker'S Guide printing = bsd printer driver file = /usr/smbshares/printer/printer.def printcap name = /etc/printcap ; is that necessary? log file = /var/log/samba_log.%m encrypt passwords = yes lock directory = /usr/local/samba/var/lock share modes = yes ;[printers] ; comment = HPDJ930C ; printable = yes ; path = /var/spool/samba ; public = yes ; writeable = no ; This worked before, but installing the printer on each machine ; locally was required. Not the best solution. [printer$] path = /usr/smbshares/printer write list = ant guest ok = yes browseable = yes [HP DeskJet 930c series] printer driver = hp deskjet 930c series ; printer driver location = \\%h\PRINTER$ printable = yes browseable = yes comment = HPDJ930c Printer path = /var/spool/samba [Download] path = /mnt/win2kdata/Download browseable = yes comment = Download stuff writeable = yes [Homes] browseable = yes writeable = yes path = /usr/home public = no valid users = ant comment = Home Directories --3V7upXqbjpZ4EhLz-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message