Kurt Pfeifle a �crit:

Norbert Gomes norbert.gomes at orleans-tours.iufm.fr
Thu Mar 11 16:06:56 GMT 2004


Hi


I've got some problems with the download of Adobe PostScript printer drivers on a Windows 98 client :

On the server side (Red Hat 9 / Samba 3.0.1 / Cups 1.1.17) :

I installed succesfully my printers with Cups and they work fine on Linux
I ran cupsaddsmb tool to copy the Adobe files in the [print$] directory which gives this result :


...../W32X86/2 : cupsdrvr.dll cups.hlp cupsui.dll hp2200.ppd hp2300.ppd
...../WIN40 : ADFONTS.DLL DEFPRTR2.PPD ICONLIB.DLL PSMON.DLL
...../WIN40/0 : ADOBEPS4.DRV ADOBEPS4.HLP hp2200.PPD hp2300.PPD


On the client side (Windows 98) :

I install the printer via the Network Neighbourhood but only the ADOBEPS4.DRV file is copied from the server and Windows can't print the Test Page.
If I manually install the Adobe Drivers on the client, I can use the printer.



Could you post the complete output of "cupsaddsmb -v", please? (Remember to replace that root or other password that shows up there....)

Cheers,
Kurt




Here's the output of cupsaddsmb command (I launched cupsaddsmb -v -a)


---------------------------- cupsaddsmb--------------------------

Running command: smbclient //localhost/print\$ -N -U'admin%##########' -c 'mkdir W32X86;put /var/tmp/40516ef6985d3 W32X86/hp2200.ppd;put /usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put /usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put /usr/share/cups/drivers/cups.hlp W32X86/cups.hlp'

Running command: rpcclient localhost -N -U'admin%######' -c 'adddriver "Windows NT x86" "hp2200:cupsdrvr.dll:hp2200.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"'
Printer Driver hp2200 successfully installed.


Running command: smbclient //localhost/print\$ -N -U'admin%#########' -c 'mkdir WIN40;put /var/tmp/40516ef6985d3 WIN40/hp2200.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;'

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


Running command: rpcclient localhost -N -U'admin%#######' -c 'setdriver hp2200 hp2200'
Succesfully set hp2200 to driver hp2200.


Running command: smbclient //localhost/print\$ -N -U'admin%####' -c 'mkdir W32X86;put /var/tmp/40516efa71923 W32X86/hp2200ps.ppd;put /usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put /usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put /usr/share/cups/drivers/cups.hlp W32X86/cups.hlp'
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86


Running command: rpcclient localhost -N -U'admin%#######' -c 'adddriver "Windows NT x86" "hp2200ps:cupsdrvr.dll:hp2200ps.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"'
Printer Driver hp2200ps successfully installed.


Running command: smbclient //localhost/print\$ -N -U'admin%######' -c 'mkdir WIN40;put /var/tmp/40516efa71923 WIN40/hp2200ps.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;'
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40


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


Running command: rpcclient localhost -N -U'admin%#####' -c 'setdriver hp2200ps hp2200ps'
Succesfully set hp2200ps to driver hp2200ps.


Running command: smbclient //localhost/print\$ -N -U'admin%#####' -c 'mkdir W32X86;put /var/tmp/40516efcbfb09 W32X86/hp2300.ppd;put /usr/share/cups/drivers/cupsdrvr.dll W32X86/cupsdrvr.dll;put /usr/share/cups/drivers/cupsui.dll W32X86/cupsui.dll;put /usr/share/cups/drivers/cups.hlp W32X86/cups.hlp'
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86


Running command: rpcclient localhost -N -U'admin%####' -c 'adddriver "Windows NT x86" "hp2300:cupsdrvr.dll:hp2300.ppd:cupsui.dll:cups.hlp:NULL:RAW:NULL"'
Printer Driver hp2300 successfully installed.


Running command: smbclient //localhost/print\$ -N -U'admin%#######' -c 'mkdir WIN40;put /var/tmp/40516efcbfb09 WIN40/hp2300.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;'
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40


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


Running command: rpcclient localhost -N -U'admin%####' -c 'setdriver hp2300 hp2300'
Succesfully set hp2300 to driver hp2300.


---------------------------- END cupsaddsmb--------------------------



Here's also the sections of my smb.conf related to the printers :

---------------------------- smb.conf--------------------------
[global]
   load printers = yes
   printing = cups
   printcap name = /etc/printcap
   printer admin = @admin admin

[printers]
   comment = Imprimantes
   path = /var/tmp
   browseable = no
   printable = yes
   printer admin = @admin admin

# Red�finition des commandes d'impressions pour pouvoir faire un d�compte des utilisations :
# print command = . /export/samba/imprimantes/impr.sh %u %p %s
# lprm command = . /export/samba/imprimantes/stop_impr.sh %u %p %j


[print$]
comment = Drivers PostScript pour les imprimantes
path = /export/samba/imprimantes/drivers
browseable = yes
read only = yes write list = @admin admin


---------------------------- END smb.conf --------------------------



Norbert GOMES












-- 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