SPOOLSS in 2.2.2: can print test page but not from apps

Daron Kallan dkallan at yahoo.com
Thu Jan 17 12:40:23 GMT 2002


I have been using samba 2.2.2 with "use client driver" and "disable spoolss"
because of the problems I am having with SPOOLSS.  I am printing to an EPSON
Stylus C80 through CUPS 1.1.12, and without SPOOLSS this configuration works
fine.

When SPOOLSS is enabled it causes problems with Windows 2000 that I cannot
seem to pin down.  From Win2K I am able to connect to the shared printer and
automatically install the printer drivers.  But I am not able to print to
the printer from Win2K applications.  What is strange about this is that I
*CAN* Print Test Pages from the Printer Properties, and I *CAN* perform all
utilities such as Nozzle Checks from the Printer Preferences.

Some applications such as Internet Explorer do not report printing failure
(I guess they don't bother to check), but programs like MSWord and Photoshop
complain of being unable to access the printer [file].  Microsoft's
recommendation is to reinstall the printer driver (done that repeatedly) and
to try to print a test page (always works).  I have read through all of the
new printing documentation.  I created printing packages with imprints and
installed them as directed (they are installed in the correct place and
visible through rpcclient -c "enumdrivers).  Like I said earlier, Win2K is
able to connect to and add the printer using the drivers served through
SPOOLSS.  The problem only seems to occur when printing from an application
(and not from the Win2K system's Printer Properties and Printer Preferences
dialogs).

Configuration details follow.  Any help would be appreciated.  Thanks much!

- Daron Kallan
dkallan at yahoo.com

Here is a (slightly pared down) list of my smb.conf:

[global]
        client code page = 437
        workgroup = KALLNET
        netbios name = DUMPTY
        interfaces = 172.16.0.1/16
        username map = /etc/smb.usermap
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        preferred master = True
        domain master = True
        dns proxy = No
        wins support = Yes
        message command = csh -c 'xedit %s;rm %s' &
        guest account = smbuser
        printer admin = daronk,dkallan,Administrator
        hosts allow = 172.16. 127.
        printing = cups
#      disable spoolss = yes
        print command = /usr/bin/lp -d%p -oraw %s; rm -f %s
        lpq command = /usr/bin/lpstat -o%p
        lprm command = /usr/bin/cancel %p-%j
        queuepause command = /usr/bin/disable %p
        queueresume command = /usr/bin/enable %p

[printers]
        comment = All Printers
#      use client driver = yes
        path = /var/spool/samba
        printer admin = Administrator,daronk,dkallan
        guest ok = Yes
        printable = Yes
        browseable = No

[print$]
        path = /etc/samba/printers
        write list = root,daronk,dkallan
        guest ok = Yes


Here is output from the rpcclient "enumdrivers 2" directive:

INFO: Debug class all level = 3   (pid 20283 from pid 20283)

[Windows 4.0]
Printer Driver Info 2:
        Version: [0]
        Driver Name: [EPSON Stylus C80 Series]
        Architecture: [Windows 4.0]
        Driver Path: [\\DUMPTY\print$\WIN40\0\EPIJNL60.DRV]
        Datafile: [\\DUMPTY\print$\WIN40\0\EPIJNL60.DRV]
        Configfile: [\\DUMPTY\print$\WIN40\0\EPIJNL60.DRV]


[Windows NT x86]
Printer Driver Info 2:
        Version: [2]
        Driver Name: [EPSON Stylus C80 Series]
        Architecture: [Windows NT x86]
        Driver Path: [\\DUMPTY\print$\W32X86\2\E_DMAI04.DLL]
        Datafile: [\\DUMPTY\print$\W32X86\2\E_DM03GE.VIF]
        Configfile: [\\DUMPTY\print$\W32X86\2\E_DU04GE.DLL]

Printer Driver Info 2:
        Version: [3]
        Driver Name: [EPSON Stylus C80 Series]
        Architecture: [Windows NT x86]
        Driver Path: [\\DUMPTY\print$\W32X86\3\E_DMAI14.DLL]
        Datafile: [\\DUMPTY\print$\W32X86\3\E_DM13GE.VIF]
        Configfile: [\\DUMPTY\print$\W32X86\3\E_DU14GE.DLL]





More information about the samba mailing list