The Samba-Bugzilla – Bug 3685
WERR_UNKNOWN_PRINTER_DRIVER when using cupsaddsmb
Last modified: 2006-04-18 17:33:35 UTC
Running Samba 3.0.22 on Ubuntu 6.06 with CUPS 1.2svn on Intel Platform
1. Copy postscript drivers from WindowsXP (C:/windows/system32/spool/drivers/w32x86/3) to Ubuntu (/usr/share/cups/drivers)files are ps5ui.dll pscript5.dll pscript.hlp PSCRIPT.NTF
2. Issue $sudo cupsaddsmb -a -v -H WORKSTATION1U6 -U root%mypassword
3. The process starts OK but stops with the following lines:
Running command: rpcclient WORKSTATION1U6 -N -U 'root%arendtconsult' -c 'adddriver "Windows NT x86" "BJC-8200:pscript5.dll:BJC-8200.ppd:ps5ui.dll:pscript.hlp:NULL:RAW:pscript5.dll,BJC-8200.ppd,ps5ui.dll,pscript.hlp,pscript.ntf"'
result was WERR_UNKNOWN_PRINTER_DRIVER
Password for root required to access WORKSTATION1U6 via SAMBA:
4. Repeat ad infinitum if you enter the password again, otherwise terminates.
5. Noticing that one of the files is named in capitals (PSCRIPT.NTF) and renaming it to lowercase (pscript.ntf).
6. Repeat from step 2.
7. Now runs for three printers terminating with "$ Succesfully set Postscript-ColorPrinter to driver Postscript-ColorPrinter."
While fixing this issue, it is probably a good idea to make sure that cupsaddsmb accepts files regardless of ownership etc.
Maybe related to the late error 294 also
Thanks for the bug report, but...
...please read "man cupsaddsmb". It *specifically says: "...copy the files exactly as named below:" And then *all* names are spelled *lowercase*.
I do not think this is a bug, given what's in the man page. Fact is, Unix has case sensitive file names, while Windows treats them as case insensitive in most cases. You'll have to live with this, I think.
I propose to close this report as INVALID.
I'll go with Kurt on this one.