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

Closed
michaelrsweet opened this Issue Apr 15, 2006 · 1 comment

Comments

Projects
None yet
1 participant
@michaelrsweet
Collaborator

michaelrsweet commented Apr 15, 2006

Version: 1.1-current
CUPS.org 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
    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:

  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:

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

@michaelrsweet

This comment has been minimized.

Collaborator

michaelrsweet commented Apr 17, 2006

CUPS.org 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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment