[Samba] Re: samba 2.27 as print server and msg72613.html
Bryant, Phillip -AES
Phillip.Bryant at itt.com
Mon Oct 27 16:05:28 GMT 2003
Date: Fri, 24 Oct 2003 21:30:40 -0500
From: "Robert" <Robertedstrom at yahoo.com>
Subject: [Samba] Re: samba 2.27 as print server
To: samba at lists.samba.org
Message-ID: <bncna4$orb$1 at sea.gmane.org>
My original post is http://lists.samba.org/archive/samba/msg72613.html.
[global]
workgroup = Popstar
netbios name = Paint-Roller
server string = Print Server (Samba %v)
interfaces = eth0 127.0.0.1
bind interfaces only = Yes
encrypt passwords = Yes
min passwd length = 0
null passwords = Yes
log level = 10
log file = /etc/samba/logs/smblog-%m.txt
announce version = 4.0
name resolve order = wins bcast
time server = Yes
deadtime = 45
socket options = SO_KEEPALIVE TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
wins server = 192.168.0.60 hosts allow = 192.168.0.0/24 127.0.0.1
username map = /etc/samba/usernames.cfg
preferred master = Yes
domain master = Yes
local master = Yes
printing = lprng
print command = lpr -U%u -P%p -r %s
lpq command = lpq -U%u -P%p
lprm command = lprm -U%u -P%p %j
lppause command = lpc -U%u hold %p %j
lpresume command = lpc -U%u release%p %j
queuepause command = lpq -U%u stop %p
queueresume command = lpq -U%u start %p
[ipc$]
path = /tmp
hosts allow = 192.168.0.0/24 127.0.0.1
hosts deny = 0.0.0.0/0
[Lexmark]
comment = "Lexmark Z22 Color JetPrinter"
use client driver = yes
path = /etc/samba/printers/Lexmark
printable = Yes
----------------------------+
Please help.
Thanks in advance.
In looking at your smb.conf settings, I'm assuming you have the Lexmark
print drivers installed on each client. Win95 systems automatically
install a local driver, but NT systems want to spool from an NT server
by default. With the "use client driver = yes" you are telling the
clients to look for a local Lexmark driver and to spool from the client
machine. You won't be spooling from your samba server. With the NT
clients you wouldn't necessarily need the samba printer if they have a
local driver, you could TCP/IP print or communicate directly with the
unix LPD service if you've got the LPR drivers from Microsoft.
Phillip M. Bryant
ITT Industries, Advanced Engineering and Sciences
Network Administrator
Albuquerque, NM 87120
Ph 505-889-7016
Cell 505-385-8668
MCSE 2000, NT 4.0
MCP+I
************************************
This email and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of ITT Industries, Inc. The recipient should check this email and any attachments for the presence of viruses. ITT Industries accepts no liability for any damage caused by any virus transmitted by this email.
************************************
More information about the samba
mailing list