Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2001 10:31:31 -0800 (PST)
From:      Bill Schoolcraft <bill@wiliweld.com>
To:        Andreas Ntaflos <ntaflos.andreas@gmx.net>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Printing from windows via Samba (printer found ok, but not printing)
Message-ID:  <Pine.LNX.4.33.0112021006320.1109-200000@localhost.localdomain>
In-Reply-To: <20011202185452.B28248@Deadcell.ANT>

next in thread | previous in thread | raw e-mail | index | archive | help
  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: <Pine.LNX.4.33.0112021006322.1109@localhost.localdomain>
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: <Pine.LNX.4.33.0112021006323.1109@localhost.localdomain>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.33.0112021006320.1109-200000>