Hello
        I am kind of tired of trying to ffigure out hwo to use samba to have
linux printing to a NT printer.  On the NT side, the printer is a share (without
password) with the name HP1600.

Here are pieces of printcap and smb.conf.

HP1600:\
        :sd=/var/spool/lpd/HP1600:\
        :mx#0:\
        :sh:\
        :if=/usr/bin/smbprint:

        printing = bsd
        printcap  name = /etc/printcap
        load printers = yes
        print command = /usr/bin/lpr -P%p -r %s
        min print space = 2000
        lock directory = /var/lock/samba
 
[homes]
        comment = Home Directory
        read only = No
        create mask = 0600
        directory mask = 0700
        browseable = No
 
 
[printers]
        comment= All printers
        path = /tmp           
        print ok = yes
        browseable = no
        printable = yes



[HP1600]
        comment = Printer %p on a NT Box = %h
        path = /var/spool/lpd/HP1600
        printable = yes
        read only = Yes
        guest ok = Yes
        guest account = pguest
        public = yes
        print ok = Yes
        printer name = HP1600
        oplocks = No
        share modes = Yes
        writable = Yes
        create mode = 0700
        directory = /tmp
         

What could be wrong?

Thanks a lot.

Eduardo
                

Reply via email to