Unable to copy Windows 2000 printer driver files (1)!

Kurt Pfeifle k1pfeifle at gmx.net
Thu Oct 11 00:42:34 PDT 2007


BobG wrote:
> Well, I haven't yet seen a solution to this problem.  Here's the situation I have.
> 
> Using the cups cdrom, I installed the cups version and ppds from the cdrom.  I installed some printers to test with.  I configured samba with:
> 
> [printers]
>    comment = All Printers
>    path = /var/spool/samba
>    browseable = no
> # Set public = yes to allow user 'guest account' to print
>    public = yes
>    guest ok = yes
>    writable = no
>    printable = yes
> 
> [print$]
>    comment = Printer Drivers
>    path = /etc/samba/drivers
>    browesable = yes
>    guest ok = no
>    read only = yes
>    write list = root
> 
> I downloaded the universal postscript printer driver from:
> 
> http://www.adobe.com/support/downloads/detail.jsp?ftpID=1500
> 
> I'm assuming that unpacking it means running the executable then getting the resulting files from C:\WINDOWS\system32\spool\drivers\w32x86\3, copied them to /usr/share/cups/drivers.
> 
> I also go the cups driver for windows 6.0 from:
> 
> http://www.cups.org/windows/software.php?6.0
> 
> Having all that in place,

I assume your CUPS is 1.2.x or newer? I also assume you followed all
the hints in "man cupsaddsmb" (especially with regard to upper-/lower-
casing the driver file names)?

> and also using security=user in samba, I added root as a samba user, then ran:
> 
> smbcupsadd -v -U root -a
> 
> I get the following output from this:
> 
> Unable to copy Windows 2000 printer driver files (2)!
> Running command: smbclient ///var/run/cups/cups.sock/print$ -N -A /var/spool/cups/tmp/470d559ced2d4 -c 'mkdir W32X86;put /var/spool/cups/tmp/470d5591792ad W32X86/sisd3.ppd;put /usr/share/cups/drivers/ps5ui.dll W32X86/ps5ui.dll;put /usr/share/cups/drivers/pscript.hlp W32X86/pscript.hlp;put /usr/share/cups/drivers/pscript.ntf W32X86/pscript.ntf;put /usr/share/cups/drivers/pscript5.dll W32X86/pscript5.dll'


Try this:

  cupsaddsmb -H samba-server -U samba-user -h cups-server -a

which translates for your case to

  cupsaddsmb -H localhost -U root -h localhost -a


Mike, I'll file an STR to ask for the man page to recommend the usage
of the "-H" portion.

-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany




More information about the cups mailing list