Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WERR_UNKNOWN_PRINTER_DRIVER when using cupsaddsmb #1568

michaelrsweet opened this issue Apr 15, 2006 · 1 comment

WERR_UNKNOWN_PRINTER_DRIVER when using cupsaddsmb #1568

michaelrsweet opened this issue Apr 15, 2006 · 1 comment
priority-low question


Copy link

@michaelrsweet michaelrsweet commented Apr 15, 2006

Version: 1.1-current User: casualprogrammer

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
  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"
Password for root required to access WORKSTATION1U6 via SAMBA:

  1. Repeat ad infinitum if you enter the password again, otherwise terminates.
  2. Noticing that one of the files is named in capitals (PSCRIPT.NTF) and
    renaming it to lowercase (pscript.ntf).
  3. Repeat from step 2.
  4. 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:

Copy link
Collaborator Author

@michaelrsweet michaelrsweet commented Apr 17, 2006 User: mike

First, the cupsaddsmb man page specifically says to name the files EXACTLY as shown (all lowercase). Please RTFM.

We can't try every possible combination of case, thus we REQUIRE that you name the files as all lowercase. We can't work around inconsistent file naming on Windows...

@michaelrsweet michaelrsweet added priority-low question labels Mar 17, 2016
@michaelrsweet michaelrsweet added this to the Stable milestone Mar 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
priority-low question
None yet

No branches or pull requests

1 participant