[Samba] Print Server

Jacob J. Lee JLee at SouthlandTitle.com
Wed May 1 12:45:02 GMT 2002


Hello,
 
I'm running Red Hat 7.2 with samba 2.2.3a.  The problem I'm experiencing is
that I am unable to get the printer drivers to load automatically when
Windows clients are adding the printers.
 
This is my smb.conf:
********************************************
# Global parameters
[global]
workgroup = LACORP
netbios name = SMB-SRV
server string = SMB-SRV
security = SERVER
encrypt passwords = Yes
password server = title
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = No
dns proxy = No
wins server = 172.30.1.4
printer admin = @ntadmin,root,admin,administrator
printing = lprng
printer driver file = /usr/local/samba/printers/printer.def

[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No

[print$]
path = /usr/local/samba/printers
write list = @ntadmin,root,admin,administrator
guest ok = Yes

[printers]
comment = All Printers
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No

[INTE-JLee]
path = /var/spool/samba
read only = No
guest ok = Yes
printable = Yes
printer name = INTE-JLee
printer driver = HP 2100 PCL6
printer driver file = /usr/local/samba/printers/printers.def
printer driver location = /usr/local/samba/printers/W32X86/HP2100
oplocks = No
*****************************************************
 
One more item to note, when I use the make_printerdef command, I get an
error message "Printer not found".  The full command that I'm using is:
 
make_printerdef /usr/local/samba/printers/W32X86/HP2100/HP212Ip6.inf "HP2100
PCL6">> printers.def
 
I've loaded the Windows printer drivers onto
/usr/local/samba/printers/W32X86/HP2100.
 
Thanks for any info.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list