[NTLUG:Discuss] Samba Printer Problems
Jason Ferguson
jferg3 at swbell.net
Sat Mar 23 11:44:54 CST 2002
Okay, I'm pulling my hair out here. Here's my story.
I have a Lexmark Z52 Printer set up, connected to my box via the
parallel port (/dev/lp0). I use the CUPS-gimpprint drivers and can print
fine from the box. I even got the [printer$] section set up correctly
(woohoo!).
However, the problem comes from my wife's win98SE box. I got the
printer installed, but it still absolutely refuses to print. I'm getting
a bit tired of "Test page failed to print... would you like to run the
print troubleshooter?" I'm suspecting a permission problem somewhere,
but Im trying to use /tmp as my spool directory.
Software versions:
Samba: 2.2.3a
CUPS: 1.1.14
Can anyone make some suggestions?
Here is my smb.conf:
[global]
interfaces = eth0
nt acl support = no
use client driver = yes
printing = cups
security = user
encrypt passwords = true
server string = %h server (Samba %v)
workgroup = WORKGROUP
valid users = @users, nobody
netbios name = Werewolf
printcap name = lpstat
printer driver file = /etc/samba/printers.def
[homes]
path = %H
writable = yes
browseable = no
valid users = %S
comment = Home Directories
public = yes
create mask = 0777
[printers]
path = /tmp
writable = yes
browseable = yes
create mode = 0700
lprm command = cancel %p-%j
lpq command = lpstat -o %p
valid users = ferguson,jenny,nobody,root
comment = All Printers
print command = lpr -P %p -o raw %s -r
printable = yes
public = yes
[mp3]
path = /home/mp3
browseable = yes
valid users = @users, nobody
comment = MP3 Directory
public = yes
[Documentation]
path = /usr/doc
browseable = yes
valid users = ferguson, nobody
comment = Linux Documentation
public = yes
[CDROM]
path = /cdrom
browseable = yes
comment = CD-ROM Drive
public = yes
valid users = @users, nobody
[lexmark]
path = /tmp
writable = yes
lprm command = cancel %p-%j
lpq command = lpstat -o %p
comment = Lexmark Z52 Inkjet Printer
valid users = @users, nobody
print command = lpr -l -r -P%d %s
printable = yes
public = yes
printer driver = Lexmark Z52 Series ColorFine
printer driver location = \\%h\PRINTER$
[printer$]
path = /usr/share/samba/printer
public=yes
writable = no
browseable = yes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://ntlug.org/pipermail/discuss/attachments/20020323/ffbfc39a/attachment.bin
More information about the Discuss
mailing list