[NTLUG:Discuss] Samba Printer Problems
Wayne Patterson
wjpatterson at charter.net
Sat Mar 23 13:57:02 CST 2002
Can you see the Linux box from the Windoze machine in network neighborhood?
Can you ping the linuxbox from windoze?
Is the workgroup the same?
Are they on the same subnet?
Make sure nmbd is running.
Just some stuff to check.
On Saturday 23 March 2002 11:44, you wrote:
> 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
----------------------------------------
Content-Type: application/pgp-signature; name="signature.asc"
Content-Transfer-Encoding: 7bit
Content-Description: This is a digitally signed message part
----------------------------------------
--
L. Wayne Patterson
Linux User #207455
"Change lays not her hand upon Truth"
Algernon Charles Swinburnee
More information about the Discuss
mailing list