Hello, I am trying to install a printer on my linux box and share it among other windows systems, like the scheme:
Printer<-|CUPS|->Linux < - - net - - > Windows machines I've installed it sucessfully, a HP DeskJet 5550, with CUPS: -it prints normally on my local linux. And I configured my samba, I suppose, correctly: -other linux system can send print jobs correctly, through smbclient //mylinux/HP5550; smb:> print some-file (at least it is the one I tested out) -the windows machns can see the HP5550 printer shared by my linux machine, and can send jobs to it. BUT nothing actually goes. Nothing actually goes: - on the Windows: a popup window keep trying to send, but it takes some long time, and nothing get printed and it quits. - on my linux point of view: I see something is created on the spool, but anything bigger then 0Kb is got: # pwd (where am I) /var/spool/samba3 # ls -lhd . (whats that access) drwxrwxrwt 2 root root 4.0K Jul 29 18:29 ./ # ls -l (when someone tries to print something) total 0 -rw------- 1 nobody nogroup 0 Jul 29 18:28 smbprn.00000014.otXJnQ But no more than 0 Kb I get.. here are some of my configs: @ /etc/samba3/smb.conf: [global] workgroup = CRISTALOGRAFIA server string = Samba Server %v printcap name = cups load printers = yes printing = cups printer admin = @adm log file = /var/log/samba3/log.%m map to guest = bad user security = share [printers] comment = All Printers path = /var/spool/samba3 browseable = no guest ok = yes allow hosts = 143.107.228.4 143.107.228.8 143.107.228.38 192.168. use client driver = Yes writable = yes printable = yes create mode = 0700 print command = lpr-cups -P %p -o raw %s -r # using client side printer drivers. # ls -sh /usr/lib/libcups* 160K /usr/lib/libcups.a* 4.0K /usr/lib/libcupsdconf.la* 292K /usr/lib/libcupsdconf.so* 84K /usr/lib/libcupsimage.a* 0 /usr/lib/libcupsimage.so@ 72K /usr/lib/libcupsimage.so.2* 0 /usr/lib/libcups.so@ 128K /usr/lib/libcups.so.2* All right, that's all... thanks in advance, Rafael Xavier de Souza/ ===== -- Rafael Xavier de Souza http://grad.icmc.usp.br/~xavier __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
