[Samba] Re: samba 2.27 as print server
Robert
Robertedstrom at yahoo.com
Sat Oct 25 02:30:40 GMT 2003
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.
"Kurt Pfeifle" <kpfeifle at danka.de> wrote in message
news:3F997015.7040407 at danka.de...
> Phillip M. Bryant wrote on Samba-Digest:
>
> > [Samba] samba 2.27 as print server
> >
> > * To: <samba at listsdotsambadotorg>
> > * Subject: [Samba] samba 2.27 as print server
> > * From: "Bryant, Phillip -AES" <PhillipdotBryant at ittdotcom>
> > * Date: Thu, 23 Oct 2003 12:43:28 -0400
> >
> > I'm running Samba 2.27
>
> rather 2.2.7....
>
> > on RH8 system.
>
> You should be telling us which print subsystem you have installed. CUPS?
> LPRng? Which version?
>
> > I've got samba as the print
> > spooler for Windows XP clients and using winbind as the user validation
> > against my Win2K DC. Permissions on the spool directory are root root
> > with the sticky bit on. Clients can delete their own jobs from the que,
> > but the spool directory is not being expunged of print jobs and the last
> > job constantly displays in the client que window. I have not been able
> > to figure out how to resolve this as occasionally people freak out when
> > they see older jobs in the print que and wonder if it is stuck. For
> > whatever reason, the print process is unable to remove the print job
> > from the spool directory after it is sent to the lpd process for
> > printing.
> >
>
> You should also be telling us, which smb.conf settings related to printing
> your Samba daemon is using.
>
> Try
>
> "testparm -v | egrep '(print|lp|enumport|driv|spool|\[|path)'"
>
> and hit "ENTER" twice....
>
> It is well possible that you are using a customized "print command",
> and have forgotten to include a ";rm %s" at the end....
>
> Cheers,
> Kurt
>
> >
> >
> > 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list