Looks like you're missing your print command entries in smb.conf (see
example):
[printers]
path = /var/spool/lpd/samba
print ok = yes
printing = lprng
load printers = yes
guest ok = no
printcap file = /etc/printcap
print command = /usr/bin/lpr -P%p -r %s
lpq command = /usr/bin/lpq -P%p
lprm command = /usr/bin/lprm -P%p %j
lppause command = /usr/sbin/lpc hold %p %j
lpresume command = /usr/sbin/lpc release %p %j
queuepause command = /usr/sbin/lpc -P%p stop
queueresume command = /usr/sbin/lpc -P%p start
-----Original Message-----
From: John Humphrey [mailto:txkjohn@hotmail.com]
Sent: Tuesday, April 17, 2001 1:40 PM
To: Errol.Fouquet@mms.gov
Subject: RE: Printer shares will not work - 2.0.7
Applying the 1777 rights to the 'path = /usr/spool/samba/p1' directory
caused the "Network name cannot be found." error message to go away,
but I
can't get the printer to pick up the jobs sent to this queue. Any ideas?
Thanks. Below is a copy of the smb.conf file
[global]
printing = lprng
map to guest = Bad User
dns proxy = no
security = user
encrypt passwords = yes
null passwords = yes
workgroup = TISDNET
server string = Samba 2.0.7 RH Linux 7
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
log file = /var/log/samba/%m.log
netbios name = samba1
load printers = no
guest account = pcguest
printcap name = /etc/printcap
wins support = yes
max log size = 0
# These next few lines convert samba into a domain controller
os level = 33
domain master = yes
local master = yes
preferred master = yes
domain logons = yes
logon script = scripts\all.bat
printer driver file = /usr/smb/printers.def
[homes]
comment = Home Directories
browseable = no
writable = yes
# Un-comment the following and create the netlogon directory for Domain
Logons
[netlogon]
comment = Network Logon Service
path = /usr/smb/shares/netlogon
; guest ok = yes
writable = no
share modes = no
[printer$]
comment = Win32 point-n-print printer drivers
path = /usr/smb/hidden
browseable = yes
public = yes
writable = no
[HP-LaserJet]
path = /usr/spool/samba/p1
printer driver location = \\%h\printer$
comment = HP LaserJet 4
printable = yes
printer driver = HP LaserJet 4
>From: "Fouquet, Errol" <Errol.Fouquet@mms.gov>
>To: 'John Humphrey' <txkjohn@hotmail.com>,
samba@lists.samba.org
>Subject: RE: Printer shares will not work - 2.0.7
>Date: Tue, 17 Apr 2001 11:08:32 -0600
>
>Do you have an entry for "path =" in you smb.conf? The
"path" value gets
>used as a temporary spooling directory for samba print jobs. It needs to
>have permissions set to 1777 ( chmod 1777 <dirname> ).
>What does your smb.conf file look like?
>
>-----Original Message-----
>From: John Humphrey [mailto:txkjohn@hotmail.com]
>Sent: Tuesday, April 17, 2001 11:46 AM
>To: samba@lists.samba.org
>Subject: Printer shares will not work - 2.0.7
>
>
>First allow me to issue this disclaimer... The following problem is most
>likely due to my own ignorance. Now on to the problem...
>
>I'm setting up some printer shares that allow automatic driver
installation
>to Win 9x clients [printer$]. When we try to use these, the drivers install
>beautifully, but we get the following error message when we try to print:
>
>"There was an error writing to \\server\printershare for pritner
{Printer
>Driver}:
>The network name cannot be found."
>
>The printer shows up when browsing Network Neighborhood but it will not
>allow us to print. Here's some info about the printer. It's an HP
LaserJet
>that the Linux box is using (/etc/printcap) as a raw queue printing
>directly
>
>to the IP address. Any help would be appreciated.
>
>John Humphrey
>
>
>_________________________________________________________________
>Get your FREE download of MSN Explorer at http://explorer.msn.com
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: http://lists.samba.org/mailman/listinfo/samba
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com