[Samba] Problems with printers in samba

Egon Petersen petsen at mail.tdcadsl.dk
Sun Sep 28 15:23:34 GMT 2003


Hi everybody
 
I am trying to set up a samba server (version 2.2.8a), that is supposed to
work as a file and print server for a small network. The file part works by
now, but I have som problems with the printer.
 
I have used cups to setup a printer called hplj. I works quite well. I can
print both from X and from a consol.
 
My smb.conf looks like this:
 
[global]
        workgroup = SKP-DATA
        encrypt passwords = yes
        wins support = yes
        server string = Samba on %L
        name resolve order = wins lmhosts hosts bcast
 
        local master = yes
        preferred master = yes
        domain master = yes
 
[homes]
        comment = Hjemmebibliotek for %u
        read only = no
        guest ok = no
        browsable = no
        map archive = yes
        map system = yes
        map hidden = yes
        veto files = /.*/
        delete veto files = no
        create mask = 0644
        directory mask = 0750
        create mask = 0644
        directory mask = 0750
        delete readonly = no
 
[hplj]
        printable = yes
        print command = /usr/bin/lpr -P%p -r %s
        printer = netprinter
        printing = cups
        path = /var/tmp
~

What could be the problem?
 
Egon Petersen



More information about the samba mailing list