[Samba] Samba, Cups, printer driver download problems

David Morel david.morel at amakuru.net
Tue Oct 29 09:34:00 GMT 2002


Le lun 28/10/2002 à 20:40, Robert M. Martel a écrit :
> 
> I have Samba 2.2.6 complied against Cups 1.1.16 on a Sparc system running 
> Solaris 9.  Cups has replaced the stock system V lp spooler on this system 
> (original packages removed.)
> 
> Cups working from UNIX command line is A-OK.
> 
> I have been working on setting up Samba to play nice with cups.  I have 
> followed the instructions from both the Cups and Samba websites to set up 
> downloading of the generic Adobe postscript drivers to MS Windows PCs and use 
> CUPS as a RIP.
> 
> So far I have been unable to get the Windows 98 drivers to download to the 
> client PC - when adding the printer the client ends up asking the user what type 
> of printer is being added.  Driver downloads for W2K work OK.
> 

bug in cupsaddsmb (fixed in 1.1.16?) , some files are not copied right.

Problem : 
automatic downloading of adobe drivers added with cupsaddsmb fails with
message
"unable to open file adopeps4.drv" at the end of install on win98 client

Cause:
cupsaddsmb sends a 
rpcclient localhost -N -U'root%pass' -c 'adddriver "Windows 4.0"
"printer_name:ADOBEPS4.DRV:printer_name.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
which forgets adobeps4.drv; 

Solution:
the proper command should read :
rpcclient localhost -N -U'root%pass' -c 'adddriver "Windows 4.0"
"printer_name:ADOBEPS4.DRV:printer_name.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"






More information about the samba mailing list