[Samba] Redhat 8 printcap
Baxter Shepperson
baxshep at cox.net
Fri Mar 21 22:23:33 GMT 2003
I am trying to printing working on my Redhat 8 Samba box. Shared drives
work fine so there's no problem w/ connectivity. I can see the printer from
Windows boxes but nothing ever prints! /var/spool/cups has had the
permissions changed appropriately. Here's my smb.conf
global]
path = /var/spool/cups
passwd program = /usr/bin/passwd %u
domain master = True
printing = cups
dns proxy = No
null passwords = Yes
encrypt passwords = Yes
valid users = bax morbo amy nobody
invalid users = root
wins support = true
printcap name = /etc/printcap
max log size = 1000
hosts allow = 192.168.1.
obey pam restrictions = Yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
username level = 8
map to guest = Bad User
security = user
message command = /bin/sh -c '/usr/bin/linpopup
server string = %h server (Samba %v)
workgroup = SHEP
syslog = 0
netbios name = PRINTSERVER
log file = /var/log/samba/log.%m
load printers = yes
os level = 35
default = printers
[homes]
path = %H
writeable = yes
valid users = bax,morbo,amy,nobody
comment = Home Directories
public = yes
create mask = 0700
directory mask = 0700
level 2 oplocks = yes
[printers]
comment = All Printers
path = /tmp
guest ok = Yes
use client driver = Yes
printable = yes
print command = lp -d %p -o raw %s; rm -f %s
create mask = 0700
[Laserjet]
writable = yes
browseable = yes
use client driver = Yes
guest ok = Yes
oplocks = Yes
printable = yes
print command = lp -d %p -o raw %s; rm -f %s
printer name = Laserjet
create mask = 0700
More information about the samba
mailing list