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

Daron Kallan dkallan at yahoo.com
Mon Jan 28 12:54:04 GMT 2002


Thank you for the advice.  I downloaded the SAMBA_2_2 CVS code, compiled and
installed and activated the "default devmode = yes" for the [printers]
section, and of course made sure that SPOOLSS is enabled and client drivers
are disabled.  Unfortunately, it did not make any apparent difference.  I
uninstalled the EPSON driver from Win2k and reinstalled it again, rebooted,
etc., but I am still able to print from the systen Printer
Properties/Preferences and not from any applications.  Any other advice?

Thanks again,
Daron Kallan
dkallan at yahoo.com

-----Original Message-----
From: Gerald Carter [mailto:jerry at samba.org]
Sent: Friday, January 25, 2002 7:25 AM
To: Daron Kallan
Cc: samba at lists.samba.org
Subject: Re: SPOOLSS in 2.2.2: can print test page but not from apps

Seems like a lot of people are having problems with Epson drivers.

Could you try this?  Download the latest SAMBA_2_2 cvs code
and add "default devmode = yes" to your printer share.
Also remove set "use client driver = no" and "disable
spoolss = no".

The "default devmode" parameter is undocumented at the moment
(i'll correct that today I hope).  It controls whether or not
smbd will generate a default device mode for the printer.
This is not optimum as the devmode should really be created by
the printer driver itself.  However, experience has shown me
that some drivers crash with a NULL devmode (badly written driver
that doesn't check for NULL pointers in the PRINTER_INFO
struc) and some crash with a devmode that they did not create
themselves (more bad assumptions on the contents of the devmode).

On Thu, 17 Jan 2002, Daron Kallan wrote:

> 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).
>
> 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