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

BobG kiksadiweb at gmail.com
Thu Oct 11 12:16:40 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)?

Yes, it's version 1.2.11-0 from the EasyPrintPro CD.  I used this version along with the supplied ppds.  Yes, I also followed the tips in "man cupsaddsmb" to the best of my knowledge.
>
> > 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
Excellent!  That worked on my Debian box and I can browse to the Printer share, right-click, select a printer, and click connect.  As advertised, this works beautifully.  The driver is automatically installed and I can see the printer added to my list of printers in Windows.

Not to be a drag, but now I have to figure out how to get this working on the real cups server, which is a Centos machine.  I used a samba server to add it to a domain, and have "security=domain" set in smb.conf.  Is there any reason this wouldn't work as the above did?

The goal is to have a print server work with Windows/Unix and ultimately allow users to install printers themselves.  I appreciate your help very much.  Now I can at least see the basics are in place to add on to.  Take care.
>
>
> 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