[cups.bugs] [HIGH] STR #1568: WERR_UNKNOWN_PRINTER_DRIVER when using cupsaddsmb

Casual J. Programmer casualprogrammer at yahoo.com
Sat Apr 15 14:33:32 PDT 2006


[STR New]

Running CUPS 1.2svn on Ubuntu 6.06 with Samba 3.0.22 on Intel Platform

Not sure wether this is taken care of by the new suite, anyway this is
part of the top of the line Ubuntu 6.=6 distribution, somebody should
distribute the information in any case.

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%mypassword' -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.

Also registered with SAMBA here:

https://bugzilla.samba.org/show_bug.cgi?id=3685

Link: http://www.cups.org/str.php?L1568
Version: 1.1-current





More information about the cups-devel mailing list