[Lula] samba printing not working

Konstantin Antselovich k.antselovich at gmx.net
Thu Apr 20 05:01:38 EDT 2006


on 04/19/2006 10:54 PM Steve said:
> Hi group,
> 
> I am not able to print from either win2k or winxp clients to a printer 
> attached to a linux samba server.  The printer does work; I can print to it 
> using cups from any linux client on the lan.  The samba server is running 
> mandrivel 2006.
> 
> The samba server is acting as a pdc; the winblows boxen are able to log in and 
> access shares on the server ok.  They see the printers and appear to connect 
> to them successfully.  Windows drivers are installed on the clients.  Here 
> are the relevant parts of my smb.conf file--if you need to see the entire 
> thing let me know.
> 
> [printers]
> 	comment = All Printers
> 	path = /var/spool/samba
> 	guest ok = Yes
> 	printable = Yes
> 	browseable = No
> 
> [OfficeJet-5500]
> 	comment = OfficeJet-5500
> 	path = /var/spool/samba
> 	read only = No
> 	guest ok = Yes
> 	printable = Yes
> 	printer name = OfficeJet-5500
> 	use client driver = Yes
> 	oplocks = No
> 	share modes = No


This [OfficeJet-5500] entry is not needed and can be safely deleted.
(PS: always post output of `testparm` command instead of samba.conf)

> 
> [root at foo root]# ls -ld  /var/spool/samba
> drwxrwxrwx  2 root root 4096 Apr 19 22:20 /var/spool/samba/
> 
> [root at foo root]# which smbspool
> /usr/bin/smbspool
> [root at foo root]# ll /usr/bin/smbspool
> lrwxrwxrwx  1 root root 26 Nov 27 
> 16:05 /usr/bin/smbspool -> /etc/alternatives/smbspool*
> [root at foo root]# ll /etc/alternatives/smbspool
> lrwxrwxrwx  1 root root 18 Nov 28 
> 19:41 /etc/alternatives/smbspool -> /usr/bin/smbspool3*
> [root at foo root]# ll /usr/bin/smbspool3
> -rwxr-xr-x  1 root root 673164 Dec 22  2004 /usr/bin/smbspool3*
> 
> /var/log/cups/error_log shows this:
> I [19/Apr/2006:22:20:56 -0700] Job 51 queued on 'OfficeJet-5500' by 'steve'.
> I [19/Apr/2006:22:20:56 -0700] Started backend /usr/lib/cups/backend/ipp (PID 
> 23036) for job 51.

ipp backend .... how is your OfficeJet-5500 connected to cups/samba
server in question?



> 
> Then the thing just hangs...
> 
> Any suggestions appreciated.  If you need more info please let me know.

when debugging, change log levels to debug or verbose as additional info
wouldn't hurt.


Rgds,
Konstantin
> 
> Thanks,


-- 
Konstantin Antselovich
mail to:k.antselovich at gmx.net
PGP KEY B8934D97 http://kostik.orangecode.net/B8934D97.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3325 bytes
Desc: S/MIME Cryptographic Signature
Url : /pipermail/lula_lula.org/attachments/20060420/de40c871/attachment.bin 
-------------- next part --------------
_______________________________________________
Lula mailing list
Lula at lula.org
http://www.lula.org/mailman/listinfo/lula


More information about the Lula mailing list