[Samba] cups Printer Driver Donwload with Win9X (Adobe driver/cupsaddsmb) cups-1.1.18, samba-2.2.7

Hansjoerg Maurer Hansjoerg.Maurer at dlr.de
Wed Jan 15 14:30:01 GMT 2003


Hi,

printer driver download with W2000/Xp (samba-2.2.7 and cups-1.1.18)  and 
the Adobe PS Driver works fine for our location.
But when I try to download a driver with W9X the driver installation 
widzard starts.

Samba logs the following messages...
(Cant determine number of printer driver files...) (see second apandix)
The installation of the driver works with no error. (see first apendix)

Has anyone successfully installed the W9X Adobe Driver?

Thank you very much

Hansjörg



Running command: smbclient //localhost/print\$ -N -U'root%XXX%' -c 
'mkdir W32X86;put /var/spool/cups/tmp/3e256bfa5c7d8 
W32X86/hp2250.PPD;put /usr/share/cups/drivers/ADOBEPS5.DLL 
W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL 
W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP 
W32X86/ADOBEPSU.HLP'
added interface ip=129.247.181.169 bcast=129.247.181.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Domain=[NTROBOTIC] OS=[Unix] Server=[Samba 2.2.7]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/3e256bfa5c7d8 as \W32X86/hp2250.PPD 
(787.4 kb/s) (average 787.4 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS5.DLL as 
\W32X86/ADOBEPS5.DLL (1732.1 kb/s) (average 1597.1 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.DLL as 
\W32X86/ADOBEPSU.DLL (1965.0 kb/s) (average 1688.9 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.HLP as 
\W32X86/ADOBEPSU.HLP (265.5 kb/s) (average 1467.1 kb/s)

Running command: rpcclient localhost -N -U'root%XXX%' -c 'adddriver 
"Windows NT x86" 
"hp2250:ADOBEPS5.DLL:hp2250.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
cmd = adddriver "Windows NT x86" 
"hp2250:ADOBEPS5.DLL:hp2250.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
Printer Driver hp2250 successfully installed.

Running command: smbclient //localhost/print\$ -N -U'root%XXX%' -c 
'mkdir WIN40;put /var/spool/cups/tmp/3e256bfa5c7d8 WIN40/hp2250.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;'
added interface ip=129.247.181.169 bcast=129.247.181.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Domain=[NTROBOTIC] OS=[Unix] Server=[Samba 2.2.7]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/3e256bfa5c7d8 as \WIN40/hp2250.PPD 
(691.0 kb/s) (average 691.0 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM 
(1437.6 kb/s) (average 1354.4 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV 
(1449.5 kb/s) (average 1417.7 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP 
(1199.4 kb/s) (average 1390.1 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD 
(280.4 kb/s) (average 1356.5 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL 
(1955.2 kb/s) (average 1378.4 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL 
(602.1 kb/s) (average 1336.0 kb/s)

Running command: rpcclient localhost -N -U'root%XXX%' -c 'adddriver 
"Windows 4.0" 
"hp2250:ADOBEPS4.DRV:hp2250.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,hp2250.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
cmd = adddriver "Windows 4.0" 
"hp2250:ADOBEPS4.DRV:hp2250.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADOBEPS4.DRV,hp2250.PPD,ADOBEPS4.HLP,PSMON.DLL,ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
Printer Driver hp2250 successfully installed.



[2003/01/15 15:17:08, 3] smbd/lanman.c:api_DosPrintQGetInfo(884)
  api_DosPrintQGetInfo: uLevel=52 name=HP2250
[2003/01/15 15:17:08, 3] smbd/lanman.c:get_printerdrivernumber(836)
  Can't determine number of printer driver files
[2003/01/15 15:17:08, 3] smbd/lanman.c:api_DosPrintQGetInfo(918)
  api_DosPrintQGetInfo: Driver files count: 0
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(656)
  printerdriver:hp2250:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(657)
  Driver:ADOBEPS4.DRV:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(658)
  Data File:hp2250.PPD:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(659)
  Language Monitor:PSMON.DLL:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(661)
  lp_driverlocation:\\PRINTSERVER2\print$\WIN40\0:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(664)
  Data Type:RAW:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(665)
  Help File:ADOBEPS4.HLP:
[2003/01/15 15:17:08, 3] smbd/lanman.c:fill_printq_info_52(679)
  fill_printq_info on <hp2250> gave 0 entries
[2003/01/15 15:17:09, 3] smbd/process.c:process_smb(878)
  Transaction 16 of length 39

root at wertach:/usr/local/samba/printers/WIN40# ll /usr/share/cups/drivers/
total 5960
drwxr-xr-x   2 root     other        512 Oct 23 15:27 ./
dr-xr-xr-x  11 root     sys          512 Oct 23 15:25 ../
-rwxr-xr-x   1 root     other     575573 Oct 24 10:21 ADFONTS.MFM*
-rwxr-xr-x   1 root     other    1297280 Oct 24 10:21 ADOBEPS4.DRV*
-rwxr-xr-x   1 root     other     233348 Oct 24 10:21 ADOBEPS4.HLP*
-rwxr-xr-x   1 root     other     457600 Oct 24 10:21 ADOBEPS5.DLL*
-rwxr-xr-x   1 root     other     201216 Oct 24 10:21 ADOBEPSU.DLL*
-rwxr-xr-x   1 root     other      20121 Oct 24 10:21 ADOBEPSU.HLP*
-rwxr-xr-x   1 root     other      13493 Oct 24 10:21 DEFPRTR2.PPD*
-rwxr-xr-x   1 root     other     118128 Oct 24 10:21 ICONLIB.DLL*
-rwxr-xr-x   1 root     other      57344 Oct 24 10:21 PSMON.DLL*

root at wertach:/usr/local/samba/printers/WIN40# ll
total 1554
drwxr-xr-x   3 root     other        512 Jan 15 15:15 ./
drwxrwxrwx   4 root     other        512 Oct 24 10:39 ../
drwxr-xr-x   2 root     other        512 Jan 15 15:15 0/
-rwxr--r--   1 root     other     575573 Jan 15 15:15 ADFONTS.MFM*
-rwxr--r--   1 root     other      13493 Jan 15 15:15 DEFPRTR2.PPD*
-rwxr--r--   1 root     other     118128 Jan 15 15:15 ICONLIB.DLL*
-rwxr--r--   1 root     other      57344 Jan 15 15:15 PSMON.DLL*

root at wertach:/usr/local/samba/printers/WIN40# ll 0/
total 3920
drwxr-xr-x   2 root     other        512 Jan 15 15:15 ./
drwxr-xr-x   3 root     other        512 Jan 15 15:15 ../
-rwxr--r--   1 root     other    1297280 Jan 15 15:15 ADOBEPS4.DRV*
-rwxr--r--   1 root     other     233348 Jan 15 15:15 ADOBEPS4.HLP*
-rwxr--r--   1 root     other      39172 Jan 15 15:14 coltekps.PPD*
-rwxr--r--   1 root     other      34672 Jan 15 15:14 hp2250.PPD*
-rwxr--r--   1 root     other      49602 Jan 15 15:14 hp2500C.PPD*
-rwxr--r--   1 root     other      51531 Jan 15 15:14 hp4050.PPD*
-rwxr--r--   1 root     other      36307 Jan 15 15:14 hp5000.PPD*
-rwxr--r--   1 root     other      36304 Jan 15 15:15 hp5000hf.PPD*
-rwxr--r--   1 root     other      24702 Jan 15 15:15 hp5m.PPD*
-rwxr--r--   1 root     other      35462 Jan 15 15:15 hp5si.PPD*
-rwxr--r--   1 root     other      63936 Jan 15 15:15 hp8000.PPD*
-rwxr--r--   1 root     other      51534 Jan 15 15:15 inshp4050.PPD*
-rwxr--r--   1 root     other      18770 Jan 15 15:15 magic.PPD*



-- 
_________________________________________________________________

Dr.  Hansjoerg Maurer           | LAN- & System-Manager
                                |
Deutsches Zentrum               | DLR Oberpfaffenhofen
  f. Luft- und Raumfahrt e.V.   |
Institut f. Robotik             |
Postfach 1116                   | Muenchner Strasse 20
82230 Wessling                  | 82234 Wessling
Germany                         |
                                |
Tel: 08153/28-2431              | E-mail: Hansjoerg.Maurer at dlr.de
Fax: 08153/28-1134              | WWW: http://www.robotic.dlr.de/
__________________________________________________________________





More information about the samba mailing list