From owner-freebsd-questions@FreeBSD.ORG Mon Aug 11 14:25:14 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 6442037B401 for ; Mon, 11 Aug 2003 14:25:14 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98E8343F3F for ; Mon, 11 Aug 2003 14:25:13 -0700 (PDT) (envelope-from freebsduser@comcast.net) Received: from comcast.net (12-225-141-88.client.attbi.com[12.225.141.88](untrusted sender)) by comcast.net (sccrmhc11) with SMTP id <2003081121251201100cgvjse> (Authid: animotions); Mon, 11 Aug 2003 21:25:12 +0000 Message-ID: <3F3809A9.8050602@comcast.net> Date: Mon, 11 Aug 2003 14:24:57 -0700 From: K Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: David Lodeiro References: <200308112348.18383.dlodeiro@inspired.net.au> In-Reply-To: <200308112348.18383.dlodeiro@inspired.net.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Samba Printing 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, 11 Aug 2003 21:25:14 -0000 David Lodeiro wrote: > A couple of days ago I set up my printer on my FreeBSD server and set it up so > I could print from my FreeBSD client. This all works very well, printing from > botht the server and the FBSD client. However, I also have samba set up for > file serving with my dads XP box. I have been trying for quite some time now > to set samba up to enable me to print from the XP client. My situation at the > moment is that the XP client can detect the printer in explorer, I can set up > a printer to print to it without any errors, however when I go to print a > test page, nothing happens. No errors, no printout. > > I started the smbd and nmbd demons with debugger set to 10 to see if I could > find something out > > Firstly , this is the relevent part of my printcap > > Canoni850|bjc800;r=600x600;q=photo;c=full;p=a4;m=auto:\ > :lp=/dev/lpt0:\ > :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/Canoni850:\ > :lf=/var/spool/lpd/Canoni850/log:\ > :af=/var/spool/lpd/Canoni850/acct:\ > :mx#0:\ > :sh: > I can print from FBSD using lpr -P Canoni850 filename > > here is the relvant section from smb.conf > [global[ > load printers = yes > > use client driver = yes > > show add printer wizard > > [printers] > comment = Canon i850 > path = /var/spool/lpd/samba > browseable = yes > printable = yes > public = yes > > File sharing on with this smb.conf works without any problems > my /var/spool/lpd directory contains the directories = Canoni850 lp & samba > all with r w x permisions and the sticky bit > > if I have path = /var/spool/lpd/Canoni850 > > And still nothing comes out of my printer , and nothing is present in my lpq > on the server. Does anyone now what is going on in my log? > > sorry about the long post > > Thanks > > David > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > You have to remember that samba print shares need to accept raw Windows print information. It should go in unfiltered. I did a google search and found these links (search params were printcap samba raw): www.freebsd.cz/doc/en_US.ISO8859-1/ books/corp-net-guide/x905.html dbforums.com/t854189.html HTH