[Samba] Printer settings on 2.2.5

Nicolas Kowalski Nicolas.Kowalski at imag.fr
Mon Oct 14 15:31:00 GMT 2002


Hello.

We are using a Samba 2.2.5 as a PDC on a Debian GNU/Linux server. This
server also handles a few printers, through LPRng. On the Unix side,
no problem (duplex, simplex, short-duplex), everything works fine.

I followed the instructions from the howto collection "Printing
Support in Samba 2.2.x" to make these printers available on
Samba. Most of the described procedure worked well. Win2k/NT
workstations have now the ability to download the required drivers.

However, users (then me) noticed that no duplex printing is
possible. When Going to Control-Panel->Printers, we can select the
Printer properties, then the disposition and finally tell this printer
must use duplex printing without problem (as a superuser or as a
normal user).

The strange thing is that when we try to setup such a behaviour
(duplex printing) from within an application (any application), the
disposition tab does not contain the duplex setting anymore. And of
course, users are unable to print duplex documents.

I really do not understand what's wrong here.


Here is excerpt from /usr/local/samba/lib/smb.conf, with all
printer-related informations :

[global]

[...]

        load printers = No
        disable spoolss = no

[...]

        printing = lprng

[print$]
        path = /usr/local/samba/printers
        guest ok = yes
        browseable = yes
        read only = yes
        write list = root

[hp1]
        comment = HP LaserJet 4050TN
        path = /var/spool/samba
        printable = Yes
        printer name = hp1
        guest ok = yes

[hp2]
        comment = HP LaserJet 4100DTN
        path = /var/spool/samba
        printable = Yes
        printer name = hp
        guest ok = yes



Here is also a sample from a log file. This error happens when opening
a printer from a Win2K client. I do not know what to do with this.


[2002/10/14 16:40:20, 0] lib/util_sock.c:write_socket_data(499)
  write_socket_data: write failure. Error = Socket operation on non-socket
[2002/10/14 16:40:20, 0] lib/util_sock.c:write_socket(524)
  write_socket: Error writing 162 bytes to socket 1: ERRNO = Socket operation on
 non-socket


Any suggestions ???

Thanks in advance.

-- 
Nicolas





More information about the samba mailing list