[Samba] How do I use LPRNG and Samba to setup printing to a network
print er?
David Baker
dbaker at getnetworked.com
Fri Jan 2 18:04:32 GMT 2004
How do I use LPRNG and Samba to setup printing to a network printer?
Here is my smb.conf......
# Global parameters
[global]
workgroup = DOMAIN
server string = rh1
encrypt passwords = Yes
max log size = 0
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain admin group = root
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M %u
logon script = login.bat
logon path = \\%L\profiles\%U
logon home = \\%L\%U\.profile
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
printing = lprng
[netlogon]
comment = The domain logon service
path = /etc/samba
browseable = No
[profiles]
path = /profiles
read only = No
create mask = 0600
directory mask = 0700
[public]
comment = Public
path = /public
read only = No
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
path = /tmp
guest ok = Yes
printable = Yes
browseable = No
Here is my /etc/printcap.local......
Last login: Fri Jan 2 11:29:08 2004 from 192.168.0.118
[root at rh1 root]# cat /etc/printcap.local
# printcap.local
#
# This file is included by printconf's generated printcap,
# and can be used to specify custom hand edited printers.
netlp1:\
:sh:\
:sd=/var/spool/lpd/netlp1:\
:rm=192.168.0.110:\
:rp=raw:
More information about the samba
mailing list