[Samba] Re: W9x doesn't download printer drivers
Francesco Malvezzi
malvezzi at unimo.it
Mon Feb 2 08:23:41 GMT 2004
>Your posting doesn't contain any helpful details about your
>problem.
Sorry,
[global]
printcap name = cups
printing = cups
[print$]
comment = Printer Driver
path = /etc/samba/drivers
browseable = yes
guest ok = no
read only = yes
write list = root, at adm
[kyocera]
comment = Stampante app.to Teresa
invalid users = @noprint
path = /var/spool/samba
browseable = yes
public = no
guest ok = no
writable = no
printable = yes
printer admin = @adm
[root#]cupsaddsmb -v -U root kyocera
Running command: rpcclient localhost -N -U'root%passwd' -c 'adddriver
"Windows NT x86"
"kyocera:cupsdrvr.dll:kyocera.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"'
Printer Driver kyocera successfully installed.
Running command: smbclient //localhost/print\$ -N -U'root%passwd' -c
'mkdir WIN40;put /var/spool/cups/tmp/401e03d9a1270 WIN40/kyocera.PPD;put
/usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put
/usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put
/usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put
/usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put
/usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put
/usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;'
Domain=[LETTERE] OS=[Unix] Server=[Samba 3.0.2rc1]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/401e03d9a1270 as \WIN40/kyocera.PPD
(17699,6 kb/s) (average 17700,2 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM
(4496,7 kb/s) (average 4806,1 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV
(11623,3 kb/s) (average 7941,4 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP
(28731,9 kb/s) (average 8702,1 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD
(13163,8 kb/s) (average 8720,1 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL
(19226,2
kb/s) (average 8969,3 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL
(11199,8 kb/s) (average 9012,5 kb/s)
Running command: rpcclient localhost -N -U'root%passwd' -c 'adddriver
"Windows 4.0"
"kyocera:ADOBEPS4.DRV:kyocera.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV:kyocera.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
Printer Driver kyocera successfully installed.
Running command: rpcclient localhost -N -U'root%passwd' -c 'setdriver
kyocera kyocera'
Succesfully set kyocera to driver kyocera.
[root]# ls -R /etc/samba/drivers/WIN40/
/etc/samba/drivers/WIN40/:
0 ADFONTS.MFM DEFPRTR2.PPD ICONLIB.DLL PSMON.DLL
/etc/samba/drivers/WIN40/0:
ADOBEPS4.DRV
ADOBEPS4.HLP kyocera.PPD
I hope it could help.
>So only one idea crosses my mind: there is a difference in
>the supported length of printer names to be used by WIN40
>(== NT/2K/XP) and W32X86 (== 95/98/ME) clients....
Thank you for the helpful hint. But "kyocera" is shorter than 8 chars.
Francesco
More information about the samba
mailing list