[ LUGOS ] samba

Metod Kozelj metod.kozelj na rzs-hm.si
Čet Avg 28 13:37:49 CEST 1997


Howdy!

On Thu, 28 Aug 1997 tomaz.cedilnik na marvin.fmf.uni-lj.si wrote:

> Kako da"s printer (na linux ma"sini) na voljo drugim?

Instaliras sambo, potem pa (poleg ostale konfiguracije) naredis en (ali
vec) takihle entry-jev v smb.conf:

/\/\/\/\/\/\/\
[genericprinter]
        path = /usr/local/samba/spool
        read only = yes
        printable = yes
        guest ok = yes
        available = no
        browsable = yes
        force user = lp

[Some Printer]
        copy = genericprinter
        comment = Some printer that hangs off my Linux box
        printer = lp
        available = yes
/\/\/\/\/\/\/\

Tisti 'lp' v vrstici 'printer = lp' se nanasa na ime tiskalnika, kakrsnega
pozna tvoj Linux. Ce moras tiskat recimo z 'lpr -Psomething', bos zgoraj v
konfiguraciji 'lp' zamenjal z 'something'.

'[Some Printer]' je niz, ki ga bodo videli Win luserji, ko bodo browsali
po 'Network Neighbourhood', kot ime tiskalnika. Ce imas vec tiskalnikov,
potem lahko nadaljnje dodas priblizno takole:

/\/\/\/\/\/\/\/\
[Some Other Printer]
        copy = genericprinter
        comment = Some other printer that hangs off my Linux box
        printer = someprinter
        available = yes
/\/\/\/\/\/\/\/\/


Peace!
  Mkx




Dodatne informacije o seznamu Starilist