Date:   Sat Aug 23 03:34:24 2003
Author: jerry

Update of /data/cvs/samba/source/printing
In directory dp.samba.org:/tmp/cvs-serv12266/printing

Modified Files:
      Tag: SAMBA_3_0
        nt_printing.c 
Log Message:
it never amazes me when some new things crawls out of the windows 
spooler. :-(

When installing the Adobe PS driver onto a Samba printer via cupsaddsmb,
I noticed a WIN2k client sending DeletePrinterData("DependentFiles")
pver and over.  I also noticed that we never checked to see if the 
value was valid.  No now we do and return WERR_BADFILE which I think 
is correct.

Next, I noticed that we never wrote the updated printer out to disk
after a succesfully DeletePrinterData[Ex]().

Finally, I found a driver (Canon BJC 1000 using the Adobe PS drivers
and foomatic PPD file) that was destroying the device name string
in the devmode.  So now get_a_printer_2() always writes out the 
device name in \\server\share form.

I think these changes might fix bug 294.



Revisions:
nt_printing.c           1.204.2.38 => 1.204.2.39
        
http://www.samba.org/cgi-bin/cvsweb/samba/source/printing/nt_printing.c.diff?r1=1.204.2.38&r2=1.204.2.39

Reply via email to