I have tried everything I could possibly think of to get printer driver
download working with Samba 2.2.3a-6 and CUPS 1.1.15-4 (latest Debian
unstable packages).  I am wondering if anyone else has go this to work at
all (with newer versions of samba or cups?)  -- if so please let me know to
give me some hope.  Or else I am thinking this is officially 'broken'.

CUPS is working perfectly with the printers installed, even Win98 clients
can print using the shared network HP8100N printer via Samba with their own
locally installed printer drivers (from manufacture disks).  I would simply
like to automated the printer driver selection and installation for the
Win98 clients. (right click on printer -> install should "just work").  What
else do I need to do?  Can I just place some actual drivers files in the
[print$] share manually??

Thanks in advance! ...

I've setup the [print$] share:
http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#AEN798
and am trying to setup CUPS for driver download:
http://us2.samba.org/samba/docs/man/Samba-HOWTO-Collection.html#AEN1050

// These printers work fine, from UNIX and Win98 clients

[EMAIL PROTECTED]:/var/log/samba# lpstat -v
device for HP8100N: socket://192.168.2.27:9100/
device for HP8100Nps: socket://192.168.2.27:9100/

// PPD files used for CUPS Printers, both work

[EMAIL PROTECTED]:/etc/cups/ppd# ls -l
total 248
-rw-r--r--    1 root     root       122039 Apr  6 14:19 HP8100N.ppd
-rw-r--r--    1 root     root       122039 Apr  6 14:23 HP8100Nps.ppd


// ADOBE Postscript drivers

[EMAIL PROTECTED]:/usr/share/cups/drivers# ls -l
total 2232
-rwxr--r--    1 root     root       575573 Mar 30 12:38 ADFONTS.MFM
-rwxr--r--    1 root     root      1295840 Mar 30 12:38 ADOBEPS4.DRV
-rwxr--r--    1 root     root       196460 Mar 30 12:38 ADOBEPS4.HLP
-rwxr--r--    1 root     root        13492 Mar 30 12:39 DEFPRTR2.PPD
-rwxr--r--    1 root     root       118128 Mar 30 12:38 ICONLIB.DLL
-rwxr--r--    1 root     root        57344 Mar 30 12:39 PSMON.DLL

/* ADOBEPS5.DLL, ADOBEPSU.DLL, ADOBEPSU.HLP were not found on the
/* adobe.com website for either their Universal 1.0.6 drivers
/* (winsteng.exe) or their Postscript 4.2.6 drivers for Win9x
/* (aps426eng.exe).  These files where copied over from a Windows 98
/* machine, are the missing files necessary for CUPS driver download??

// Running the cupsaddsmb program to copy the CUPS printer drivers
// to the samba [print$] share -- unsuccessfully.

[EMAIL PROTECTED]:~# cupsaddsmb -U root -a
Warning: No PPD file for printer "HP8100N"!

/* Why is it giving this error? The proper PPD files are in 
/* /etc/cups/ppd/ as shown above and placed there by the CUPS
/* web-based install and command line "lpadmin -p HP8100N -v  \
/* socket://192.168.2.27:9100 -E -P /usr/share/cups/model/HP8100N.PPD"
/* printer install process.

// PPD files of course not added to the [print$] share

[EMAIL PROTECTED]:/etc/samba/drivers# ls -lR
.:
total 8
drwxr-xr-x    2 root     root         4096 Apr  6 15:37 W32X86
drwxr-xr-x    2 root     root         4096 Apr  6 15:37 WIN40

./W32X86:
total 0

./WIN40:
total 0

------------------------  relevant pieces of smb.conf file -------------
[global]
   workgroup = linuxtest
   netbios name = WS-072
   ## lines here snipped for brevity

   load printers = yes
   printing = cups
   printcap name = cups

[printers]
   comment = All Printers
   browseable = yes
   path = /var/spool/samba
   printable = yes
   public = no
   writable = no
   create mode = 0700
   printer admin = root

[print$]
    comment  = Printer Drivers
    path = /etc/samba/drivers
    browseable = yes
    guest ok = no
    read only = yes
    write list = root,usertest
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

Reply via email to