I have Samba set up on FreeBSD on a network with several W2K's and other FreeBSD's. After incredible feats of tortured convolutions with books and web pages, I finally managed to get file transfers between the Windows & BSD machines and printing on the FreeBSD and from Windows to FreeBSD with lpd (!). I have now installed cups on the BSD and although Windows sees the printer on BSD, there is no way to get it to print to BSD. Frankly, after reading all the manuals for both cups and Samba, all the instructions are jtotally incomprehensible. There are such minor things as nonexixtence of files that are supposedly created on installation, there is on clear explanation or principles or directives that can be understood (at least, by me). I am hoping that someone out there has been able to understand this stuff and can help me see the light... please... :-) Philip Jourdan
On Mon, May 06, 2002 at 02:47:56PM -0400, P. Jourdan wrote:> I have Samba set up on FreeBSD on a network with several W2K's and other > FreeBSD's. After incredible feats of tortured convolutions with books and > web pages, I finally managed to get file transfers between the Windows & > BSD machines and printing on the FreeBSD and from Windows to FreeBSD with > lpd (!).First of all, did you use the samba port for freebsd? I've used printing with freebsd's lpd daemon for years, so it does work. Here is the section from my smb.conf for my printer [nec] comment = Nec Printer path = /stripe1/spool/samba read only = No create mask = 0700 guest ok = Yes min print space = 1024 printable = Yes use client driver = Yes here's my relevant section of my printcap lp|nec|local line printer:\ :sh:rm=neca07cc8:sd=/stripe1/spool/output:lf=/var/log/lpd-errs: ------------- Can you print to your printer via lpr(see if same is the problem or your printcap). Could you please provide your printcap and relevant sections of smb.conf? -- David W. Chapman Jr. dwcjr@inethouston.net Raintree Network Services, Inc. <www.inethouston.net> dwcjr@freebsd.org FreeBSD Committer <www.FreeBSD.org>
At 02:01 PM 5/6/2002 -0500, David W. Chapman wrote: Can you print to your printer via lpr(see if same is the problem or your printcap). Could you please provide your printcap and relevant sections of smb.conf? David, Oh, yes, I installed with portupgrade - really a good proggie. I can print with the lpd, if I set it up for that... But the problem is with Cups. When one installs cups the printcap file is overwritten and all you have is Epson900: (in my case anyway). kThe ir;ony is that the cups configuration for Windows printing is incredibly naive - "all you have to do is enter: printing = cups; and printcap = cups" - really, that's what they say on their site & documentation. Wel, it ain't that simple... it would seem... OK, I stand corrected... as I was writing... I did a final check to try to install a driver from the Windows side - and using the Windows built-in driver (not the Epson driver, which was rather a mess to install) IT WORKS. Thanks for the help. Philip