Bonjour,
je veux installer une imprimante Hp "manuellement" sous 2000 et xp mais sans avoir à spécifier ou trouver les fichiers nécessaires.
Nous pratiquons cette méthode depuis longtemps sauf que pour la dernière imprimante (hp6840), un fichier nous pose problème.
pour vous situer un peu, on pose les fichiers dll, inf, cat, ect.. dans un répertoire sur c:\materiels\IM.
Ensuite on connecte l'imprimante (en usb) et windows installe les pilotes sans qu'on lui dise où les trouver.
Sauf qu'un fichier pose problème : hpf58w12.dat
automatiquement il veut le chercher sur le lecteur Cd E:. Or sur notre lecteur cd, il n'y a rien et il n'a pas la lettre E:
j'ai donc conclu qu'il faille modifier dans le fihcier hpf6800p.inf que c'est plutôt du côté de c:\materiel\IM qu'il doit regarder.
Mais voilà quels sont les commandes à ajouter pour cette modif :
Voici l'inf D'origine :
;Windows 2k-XP PnP printer installation INF file
;Copyright Hewlett-Packard 2004
[Version]
Signature="$Windows NT$"
Class=Printer
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Provider=Hewlett-Packard
CatalogFile=hpf6800p.cat
DriverVer=06/25/2004,12.2.0.0
[Manufacturer]
"Hewlett-Packard"=Models
[ControlFlags]
ExcludeFromSelect=*
[Models]
"HP Deskjet 6800 Series"=hp_Install_PnP,USBPRINT\HPDeskjet_6800421C
"HP Deskjet 6800 Series"=hp_Install_PnP,LPTENUM\HPDeskjet_6800421C
;--------------------------------------------------------------------------------
; Install Sections
;--------------------------------------------------------------------------------
;
; HP Deskjet 6800 Series
;
[hp_Install_PnP.nt]
CopyFiles=hp_FILES,INST_FILES,HP_COLOR_PROFILES,DD_FILES
DataSection=COMMON_DRIVER_DATA_PnP
DataFile=hpf58w12.dat
Include=NTPRINT.INF
Needs=sRGBPROFILE.OEM
AddReg=hp_AccessoryReg
[hp_Install_PnP.nt.CoInstallers]
AddReg=hp_CoInstallers_AddReg
CopyFiles=COINST_FILES
;--------------------------------------------------------------------------------
; Config/Registry Sections
;--------------------------------------------------------------------------------
[COMMON_DRIVER_DATA_PnP]
DriverFile=hpz2ku12.dll
ConfigFile=hpzpm312.dll
LanguageMonitor="hpzlnt12,hpzlnt12.dll"
HelpFile=hpfmom12.hlp
[hp_AccessoryReg]
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\HP Deskjet 6800 Series",InfID,0,"deskjet6800_infid_2k_200007120052"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\HP Deskjet 6800 Series",Product,0,"6800"
HKLM,"SOFTWARE\Hewlett-Packard\HPDJ Printing System Config\HP Deskjet 6800 Series",DriverVersion,0,"12.2.0.0"
HKLM,"SOFTWARE\Hewlett-Packard\HPDJ Printing System Config\HP Deskjet 6800 Series",ToolboxExe,0,"hpztbx12.exe"
HKLM,"SOFTWARE\Hewlett-Packard\HPDJ Printing System Config\HP Deskjet 6800 Series",DriverName,0,"HP Deskjet 6800 Series"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\HP Deskjet 6800 Series",CIOSupport,0,"true"
HKLM,"SOFTWARE\Hewlett-Packard\San Diego Shared IO",DirectConnectBidiSupported,0x00010001,01,00,00,00
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\HP Deskjet 6800 Series",DustDevilSupport,0,"true"
[hp_CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"hpzcoi12.dll,CoInstall"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\CoInstaller",DriverName,0,"HP Deskjet 6800 Series"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\CoInstaller",Product,0,"6800"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\CoInstaller",DriverDataValueName,0,"Printer Model"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\CoInstaller",VendorSetupName,0,"hpzcon12.dll"
HKLM,"SOFTWARE\Hewlett-Packard\HPZ\Glue\CoInstaller",VendorSetupFunction,0,"VendorSetup"
;--------------------------------------------------------------------------------
; CopyFiles Sections
;--------------------------------------------------------------------------------
[INST_FILES]
hpzcon12.dll,,,0x00000020
hpzcoi12.dll,,,0x00000020
[COINST_FILES]
hpzcoi12.dll,,,0x00000020
[HP_COLOR_PROFILES]
"HP Deskjet 6800-Premium High-Gloss Film(tricolor+gray).icc", hpdj68phgftg.icc,,0x00000020
"HP Deskjet 6800-Premium High-Gloss Film(tricolor+photo).icc", hpdj68phgftp.icc,,0x00000020
"HP Deskjet 6800-Premium High-Gloss Film(tricolor+black).icc", hpdj68phgftb.icc,,0x00000020
"HP Deskjet 6800-Premium Paper(tricolor+gray).icc", hpdj68pptg.icc,,0x00000020
"HP Deskjet 6800-Premium Paper(tricolor+photo).icc", hpdj68pptp.icc,,0x00000020
"HP Deskjet 6800-Premium Paper(tricolor+black).icc", hpdj68pptb.icc,,0x00000020
"HP Deskjet 6800-Premium Plus Photo(tricolor+photo).icc", hpdj68ppptp.icc,,0x00000020
"HP Deskjet 6800-Premium Plus Photo(tricolor+black).icc", hpdj68ppptb.icc,,0x00000020
"HP Deskjet 6800-Premium Plus Photo(tricolor+gray).icc", hpdj68ppptg.icc,,0x00000020
[DD_FILES]
hppapml0.dll
hpbmiapi.dll
hpboidPS.dll
hpbproPS.dll
hpjcmn2u.dll
hpjipx1u.dll
hpboid.exe
hpbpro.exe
[DestinationDirs]
DefaultDestDir=66000
INST_FILES=11
COINST_FILES=11
DD_FILES=11
HP_COLOR_PROFILES=66003
[hp_FILES]
hpf58w12.dat
hpfmom12.hlp
hpzcfg12.exe
hpz2ku12.dll
hpzcoi12.dll
hpzcon12.dll
hpzdiu12.dll
hpzeng12.exe
hpzflt12.dll
hpzime12.dll
hpzims12.dll
hpzjui12.dll
hpzlnt12.dll
hpzpcl12.dll
hpzpm312.dll
hpzpre12.exe
hpzr3212.dll
hpzres12.dll
hpzrm312.dll
hpzstc12.exe
hpzstw12.exe
hpztbi12.dll
hpztbu12.exe
hpztbx12.exe
hpzvip12.dll
[SourceDisksNames]
1="hp cd",,
que faut il indiquer ici pourqu'il aille aussi voir sur le c:?
[SourceDisksNames.x86]
1="hp cd",,
que faut il indiquer ici pourqu'il aille aussi voir sur le c:?
[SourceDisksFiles]
hpf6800p.inf=1,\.
hpdj68phgftb.icc=1,\common\drivers\win2k_xp
hpdj68phgftp.icc=1,\common\drivers\win2k_xp
hpdj68phgftg.icc=1,\common\drivers\win2k_xp
hpdj68pptb.icc=1,\common\drivers\win2k_xp
hpdj68pptp.icc=1,\common\drivers\win2k_xp
hpdj68pptg.icc=1,\common\drivers\win2k_xp
hpdj68ppptb.icc=1,\common\drivers\win2k_xp
hpdj68ppptp.icc=1,\common\drivers\win2k_xp
hpdj68ppptg.icc=1,\common\drivers\win2k_xp
hpf58w12.dat=1,\%LANG_DIR%\drivers\com_lang c'est ce fichier qui pose problème
hpfmom12.hlp=1,\%LANG_DIR%\drivers\com_lang
hpx58w12.dat=1,\%LANG_DIR%\drivers\com_lang
hpz2ku12.dll=1,\common\drivers\win2k_xp
hpz9xd12.drv=1,\common\drivers\win9x_me
hpz9xp12.dll=1,\common\drivers\win9x_me
hpzcfg12.exe=1,\common\drivers\com_os
hpzcoi12.dll=1,\common\drivers\win2k_xp
hpzcon12.dll=1,\common\drivers\com_os
hpzdiu12.dll=1,\common\drivers\com_os
hpzeng12.exe=1,\common\drivers\com_os
hpzfac12.dll=1,\common\drivers\win9x_me
hpzflt12.dll=1,\common\drivers\com_os
hpzimb12.dll=1,\common\drivers\com_os
hpzimc12.dll=1,\common\drivers\com_os
hpzime12.dll=1,\common\drivers\com_os
hpzimp12.dll=1,\common\drivers\com_os
hpzims12.dll=1,\common\drivers\com_os
hpzimv12.dll=1,\common\drivers\com_os
hpzjui12.dll=1,\common\drivers\com_os
hpzl3212.dll=1,\%LANG_DIR%\drivers\com_lang
hpzl9x12.dll=1,\common\drivers\win9x_me
hpzlje12.dll=1,\common\drivers\com_os
hpzlnt12.dll=1,\common\drivers\win2k_xp
hpzntk12.dll=1,\common\drivers\win2k_xp
hpzntp12.dll=1,\common\drivers\win2k_xp
hpzpcl12.dll=1,\common\drivers\com_os
hpzpip12.dll=1,\common\drivers\com_os
hpzpm112.dll=1,\common\drivers\win9x_me
hpzpm312.dll=1,\common\drivers\win2k_xp
hpzpnp12.dll=1,.
hpzpre12.exe=1,\common\drivers\com_os
hpzr3212.dll=1,\%LANG_DIR%\drivers\com_lang
hpzres12.dll=1,\common\drivers\com_os
hpzrm112.dll=1,\%LANG_DIR%\drivers\com_lang
hpzrm312.dll=1,\%LANG_DIR%\drivers\com_lang
hpzrp112.dll=1,\common\drivers\win9x_me
hpzrp312.dll=1,\common\drivers\win2k_xp
hpzs9x12.dll=1,\common\drivers\win9x_me
hpzslk12.dll=1,\common\drivers\com_os
hpzsnt12.dll=1,\common\drivers\win2k_xp
hpzsta9x.exe=1,\common\drivers\win9x_me
hpzstc12.exe=1,\common\drivers\com_os
hpzstsin.dll=1,\common\drivers\win9x_me
hpzstw12.exe=1,\common\drivers\com_os
hpztbi12.dll=1,\common\drivers\com_os
hpztbu12.exe=1,\common\drivers\com_os
hpztbx12.exe=1,\common\drivers\com_os
hpzvip12.dll=1,\common\drivers\com_os
hppapml0.dll=1,\common\drivers\com_os
hpbmiapi.dll=1,\common\drivers\com_os
hpboidPS.dll=1,\common\drivers\com_os
hpbproPS.dll=1,\common\drivers\com_os
hpjcmn2u.dll=1,\common\drivers\com_os
hpjipx1u.dll=1,\common\drivers\com_os
hpboid.exe=1,\common\drivers\com_os
hpbpro.exe=1,\common\drivers\com_os
atl.dll=1,\common\drivers\win9x_me
usbmon.dll=1
;--------------------------------------------------------------------------------
; Strings
;--------------------------------------------------------------------------------
[Strings]
LANG_DIR="fra"
[Strings.0007]
y a t'il quelque chose à rajouter ici ?
Merci à tous