Tisk pres Sambu

Zbynek Houska zbynh at seznam.cz
Sun Oct 5 22:15:08 CEST 2003


Vazeni uzivatele,

konecne se mi podarilo rozchodit tisk pres Sambu. Mam HP DeskJet 610C a
nainstalovany aps filter. Posilam muj smb.conf, pokud to nekoho zajima,
pac mi to dalo celkem zabrat...(ale pouzil jsem jenom man smb.conf)

---smb.conf---

[global]
        netbios name = skippy
        server string = Don't touch!
        workgroup = WORKGROUP
        security = share
        log file = /var/log/samba.log
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        encrypt passwords = yes
        wins support = yes
        character set = ISO8859-2
        client code page = 852
        loadprinters = yes
        printcap name = /etc/printcap
        printing = bsd
        domain master = no
        hide dot files = yes
        local master = no
        guest account = nobody
        default devmode = yes
        unix password sync = yes
[public]
       path = /usr/tmp
       guest ok = yes
       writeable = yes
       public = yes
[printers]
      path  = /var/spool/samba
      printer = lp
      public = yes
      guest ok = yes
      writeable = yes
      printable = yes
      print command = echo Printing %s >> /tmp/print.log; lpr -P %p %s;
rm %s
[homes]
       browseable = no
       writable = yes
       valid users = %S
 
---------

Guest account "nobody" musi byt pridanej v grupe "printer" v
/etc/group. Dale pak musi byt osetreno /etc/hosts.lpd a samozrejme musi
byt samba spool file "world writeable" 0777, v mem pripade
/var/spool/samba
viz:

drwxrwxrwx   2 root   daemon  512  5 říj 21:41 samba
  
Dulezita byly tyto body:
-- default devmode = yes - pokud bylo "no" tal to stale chtelo instalovat
ovladac

-- guest account - pod jakym uvtem se mam pripojovat
-- print command - bez neho to vubec netisklo!!!

Tot vse.

Zbynek
-- 
The average Ph.D. thesis is nothing but a transference of bones from one 
graveyard to another. 
-J. Frank Dobie, "A Texan in England" 1945 
(contributed by Chris Johnston) 



More information about the Users-l mailing list