;/*++
;
;Copyright (c) 1990-2002. Hewlett-Packard Company. All rights reserved. 
;
;
;	Dot4Usb INF for all OSes
;
;	Hewlett-Packard Converged DOT4 version 12
;
;	MagicKeyword for DOT4 12 infs used by the scrubber {73B400CB-58B8-4b48-8732-B4F4F3CF30CF}
;

; ----- DO NOT MODIFY HEADER TEXT ABOVE THIS LINE! ------------ 
;--*/

[Version]
Signature="$Windows NT$"
Provider=%INF_Provider%
DriverVer=12/05/2005,10.2.0.4
CatalogFile.NT=HPZius23.cat
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
DriverPackageType=PlugAndPlay
DriverPackageDisplayName="DOT4USB"

;====================================================

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir = 10,System32\drivers
Dot4Drivers_CpyFiles = 10,System32\drivers
LJ_Inst_PreLoad_CopyFile = 11

[SourceDisksNames.amd64]
1 = %CD%,,,
2 = %CD%,,,"drivers\dot4\amd64\winxp"

[SourceDisksFiles.amd64]
; Driver
HPZius12.sys = 2
HPZid412.sys = 2
hppldcoi.x64.dll = 2
difxapi.dll = 2

;====================================================

[Manufacturer]
%HP%=HP_Models,NTAMD64

[HP_Models]

[HP_Models.NTAMD64]
;
; This INF supports models with these PnP IDs
; (Enumerated by any enumerator (*))
;

"HP Deskjet 6980 Series (DOT4USB)"         = D4Usb_Poll_Inst,usb\vid_03f0&pid_8804&mi_01
"HP Deskjet 6940 Series (DOT4USB)"         = D4Usb_Poll_Inst,usb\vid_03f0&pid_8904&mi_01
"HP Photosmart Pro B9100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&pid_bd02&mi_01
"Photosmart 2570 series (DOT4USB)" 	   = D4Usb_Poll_Inst,usb\vid_03f0&pid_4e11&mi_02
"Photosmart 3100 Series (DOT4USB)"	   = D4Usb_Poll_Inst,usb\vid_03f0&pid_5011&mi_02
"Photosmart 3200 Series (DOT4USB)"	   = D4Usb_Poll_Inst,usb\vid_03f0&pid_5111&mi_02
"Photosmart 3300 Series (DOT4USB)"	   = D4Usb_Poll_Inst,usb\vid_03f0&pid_5211&mi_02
"Officejet 6300 series (DOT4USB)"          = D4Usb_Poll_Inst,usb\vid_03f0&pid_5311&mi_02
"Officejet 4300 series (DOT4USB)"          = D4Usb_Poll_Inst,usb\vid_03f0&pid_5411&mi_02
"Deskjet F300 series (DOT4USB)"            = D4Usb_Poll_Inst,usb\vid_03f0&pid_5511&mi_02

"HP Photosmart A710 series (DOT4USB)" =  D4Usb_Poll_Inst,usb\vid_03f0&Pid_1c02&mi_01
"HP Photosmart A610 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_1b02&mi_01
"HP Photosmart A510 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_1a02&mi_01
"HP Photosmart A310 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_1d02&mi_01
"HP Photosmart A430 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_1902&mi_02
"HP Photosmart D7300 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_c702&mi_01
"HP Photosmart D6100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_c502&mi_01
"HP Photosmart D7100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_c602&mi_01
"HP Photosmart D5100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_c402&mi_01
"HP Photosmart C4100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&pid_5711&mi_02 
"HP Photosmart C5100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_5811&mi_02
"HP Photosmart C7100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_5a11&mi_02
"HP Photosmart C6100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_5911&mi_02
"HP Photosmart C3100 series (DOT4USB)" = D4Usb_Poll_Inst,usb\vid_03f0&Pid_5611&mi_02
"HP Color LaserJet 3800 (DOT4USB)"     = LJMS_Inst_PreLoad,usb\vid_03f0&pid_6817

"HP CM8060 MFP with Edgeline (DOT4USB) " =  CM8060_XP_USB,usb\vid_03F0&pid_7117
"HP CM8050 MFP with Edgeline (DOT4USB) " =  CM8050_XP_USB,usb\vid_03F0&pid_7717

"HP Officejet Pro K5400 (DOT4USB)"      = D4Usb_Poll_Inst,usb\vid_03f0&pid_2012&mi_01,usb\vid_03f0&pid_2012&rev_0100&mi_01
"HP Officejet Pro L7500 (DOT4USB)"      = D4Usb_Poll_Inst,usb\Vid_03f0&Pid_2112&Mi_02,usb\Vid_03f0&Pid_2112&rev_0100&Mi_02
"HP Officejet Pro L7600 (DOT4USB)"      = D4Usb_Poll_Inst,usb\Vid_03f0&Pid_2212&Mi_02,usb\Vid_03f0&Pid_2212&rev_0100&Mi_02
"HP Officejet Pro L7700 (DOT4USB)"      = D4Usb_Poll_Inst,usb\Vid_03f0&Pid_2312&Mi_02,usb\Vid_03f0&Pid_2312&rev_0100&Mi_02
"HP Officejet J5700 Series (DOT4USB)"   = D4Usb_Poll_Inst,usb\vid_03f0&pid_5b11&MI_02,usb\vid_03f0&pid_5b11&rev_0100&MI_02

"HP Officejet Pro K5300 (DOT4USB)" = D4Usb_Poll_Inst,usb\Vid_03f0&Pid_1f12&Mi_01,usb\Vid_03f0&Pid_1f12&rev_0100&Mi_01
"HP Officejet Pro L7300 (DOT4USB)" = D4Usb_Poll_Inst,usb\Vid_03f0&Pid_2512&Mi_02,usb\Vid_03f0&Pid_2512&rev_0100&Mi_02

"HP Photosmart D5060 Printer (DOT4USB) " = D4Usb_Poll_Inst,USB\Vid_03f0&Pid_c802&mi_01,USB\Vid_03f0&Pid_c802&rev_0100&mi_01   
"HP Color LaserJet CP6005 (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_6F17&rev_0100,usb\VID_03F0&PID_6F17
"HP Color LaserJet CP9505 (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7017&rev_0100,usb\VID_03F0&PID_7017
"HP Color LaserJet CP3505 (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7817&rev_0100,usb\VID_03F0&PID_7817

"HP LaserJet M3027 MFP (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7A17&rev_0400,usb\VID_03F0&PID_7A17
"HP LaserJet M3035 MFP (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7517&rev_0400,usb\VID_03F0&PID_7517

"HP LaserJet M5025 MFP (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7917&rev_0100,usb\VID_03F0&PID_7917
"HP LaserJet M5035 MFP (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7217&rev_0100,usb\VID_03F0&PID_7217
"HP LaserJet M4345 MFP (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7417&rev_0100,usb\VID_03F0&PID_7417

"HP Color LaserJet CP4005 (DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_7B17&rev_0100,usb\VID_03F0&PID_7B17
"HP Color LaserJet 3000(DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_6717&rev_0100,usb\VID_03F0&PID_6717
"HP Color LaserJet 3600(DOT4USB)" = LJMS_Inst_PreLoad,usb\VID_03F0&PID_6917&rev_0100,usb\VID_03F0&PID_6917
"HP Photosmart A320 Printer series (DOT4USB)" = D4Usb_Inst,USB\Vid_03f0&Pid_1e02&mi_01,USB\Vid_03f0&Pid_1e02&rev_0200&mi_01
"HP Photosmart A440 Printer series (DOT4USB)" = D4Usb_Inst,USB\Vid_03f0&Pid_1f02&mi_02,USB\Vid_03f0&Pid_1f02&rev_0200&mi_02
"HP Photosmart C4200 Printer series (DOT4USB)" = D4Usb_Inst,USB\Vid_03f0&Pid_5c11&mi_02,USB\Vid_03f0&Pid_5c11&rev_0100&mi_02
"HP Deskjet F2100 Printer series (DOT4USB)" = D4Usb_Inst,USB\Vid_03f0&Pid_7D04&mi_02,USB\Vid_03f0&Pid_7D04&rev_0100&mi_02
"HP Deskjet F4100 Printer series (DOT4USB)" = D4Usb_Inst,USB\Vid_03f0&Pid_7E04&mi_02,USB\Vid_03f0&Pid_7E04&rev_0100&mi_02
;====================================================

[D4Usb_Inst.NT]
AddReg=Dot4Usb_AddReg,Dot4_AddReg,Dot4_UseInterrupt_AddReg
CopyFiles=Dot4Drivers_CpyFiles
DriverVer=12/05/2005,10.2.0.4

[D4Usb_Poll_Inst.NT]
AddReg=Dot4Usb_AddReg,Dot4_AddReg,Dot4_UsePolling_AddReg
CopyFiles=Dot4Drivers_CpyFiles
DriverVer=12/05/2005,10.2.0.4

[LJ_Inst_PreLoad.NT]
AddReg=Dot4Usb_AddReg,Dot4_AddReg
CopyFiles=Dot4Drivers_CpyFiles
DriverVer=10/22/2005,10.1.1.3

[LJMS_Inst_PreLoad.NT]
Include=DOT4.INF
Needs=DOT4USB_Inst.NT
AddReg=MS_AddReg_USB,MS_Dot4_AddReg

[CM8060_XP_USB.NT]
Include=DOT4.INF
Needs=DOT4USB_Inst.NT
AddReg = MS_AddReg_USB,CM8060_AddReg_XP 

[CM8050_XP_USB.NT]
Include=DOT4.INF
Needs=DOT4USB_Inst.NT
AddReg = MS_AddReg_USB,CM8050_AddReg_XP 

;====================================================

;
; Copy Files
;

[Dot4Drivers_CpyFiles]
HPZid412.sys
HPZius12.sys
;====================================================
; Co-installers
;
[LJ_Inst_PreLoad.NT.CoInstallers]
AddReg=LJ_Inst_PreLoad.CoInstallers_AddReg
CopyFiles=LJ_Inst_PreLoad_CopyFile

[LJMS_Inst_PreLoad.NT.CoInstallers]
AddReg=LJ_Inst_PreLoad.CoInstallers_AddReg
CopyFiles=LJ_Inst_PreLoad_CopyFile

[CM8060_XP_USB.NT.CoInstallers]
AddReg=LJ_Inst_PreLoad.CoInstallers_AddReg
CopyFiles=LJ_Inst_PreLoad_CopyFile

[CM8050_XP_USB.NT.CoInstallers]
AddReg=LJ_Inst_PreLoad.CoInstallers_AddReg
CopyFiles=LJ_Inst_PreLoad_CopyFile

[LJ_Inst_PreLoad.CoInstallers_AddReg]
HKR,,CoInstallers32,0x00010000,"hppldcoi.x64.dll, PreloadDriverCoInstallEntryPoint"

[LJ_Inst_PreLoad_CopyFile]
hppldcoi.x64.dll,,,0x60
difxapi.dll,,,0x60

;====================================================
[MS_AddReg_USB]
HKR,,"LowerFilters",0x00010000,"dot4usb"

[Dot4Usb_AddReg]
HKR,,"LowerFilters",0x00010000,"HPZius12"

[Dot4_AddReg]
HKR,%Print_Func%,%Desc_Val%,,%HP_Device%
HKR,%Policy%,%CreditOnZeroLength%,0x00010001,0x1
HKR,%Policy%,%PiggyBackCredit%,0x00010001,0x1

[MS_Dot4_AddReg]
HKR,%MS_Print_Func%,%Desc_Val%,,%HP_Device%
HKR,%Policy%,%CreditOnZeroLength%,0x00010001,0x1
HKR,%Policy%,%PiggyBackCredit%,0x00010001,0x1


[Dot4_UseInterrupt_AddReg]
HKR,%Policy%,%UseInterruptEndPoint%,0x00010001,0x1

[Dot4_UsePolling_AddReg]
HKR,%Policy%,%UseInterruptEndPoint%,0x00010001,0x0

[Dot4_AddReg_USB_XP]
HKR,,"LowerFilters",0x00010000,"dot4usb"

[CM8060_AddReg_XP]
HKR,%MS_Print_Func%,%Desc_Val%,,"HP CM8060 MFP with Edgeline Printer"
HKR,%Policy%,%CreditOnZeroLength%,0x00010001,0x1
HKR,%Policy%,%PiggyBackCredit%,0x00010001,0x1

[CM8050_AddReg_XP]
HKR,%MS_Print_Func%,%Desc_Val%,,"HP CM8050 MFP with Edgeline Printer"
HKR,%Policy%,%CreditOnZeroLength%,0x00010001,0x1
HKR,%Policy%,%PiggyBackCredit%,0x00010001,0x1



;====================================================

; Add keys under Enum\enumeratorID\device-instance-id

[D4Usb_Inst.NT.HW]
AddReg=Dot4Usb_AddReg,Dot4_AddReg,Dot4_UseInterrupt_AddReg

[D4Usb_Poll_Inst.NT.HW]
AddReg=Dot4Usb_AddReg,Dot4_AddReg,Dot4_UsePolling_AddReg

[LJ_Inst_PreLoad.NT.HW]
AddReg=Dot4Usb_AddReg,Dot4_AddReg,Dot4_UseInterrupt_AddReg

[CM8060_XP_USB.NT.HW]
AddReg = MS_AddReg_USB,CM8060_AddReg_XP 

[CM8050_XP_USB.NT.HW]
AddReg = MS_AddReg_USB,CM8050_AddReg_XP 

[LJMS_Inst_PreLoad.NT.HW]
AddReg=MS_AddReg_USB,MS_Dot4_AddReg
;====================================================

[D4Usb_Inst.NT.Services]
AddService = %Dot4_Service%,0x00000002,HP_DOT4_Inst
AddService = %Dot4Usb_Service%,,HP_DOT4_USB_Service_Inst

[D4Usb_Poll_Inst.NT.Services]
AddService = %Dot4_Service%,0x00000002,HP_DOT4_Inst
AddService = %Dot4Usb_Service%,,HP_DOT4_USB_Service_Inst

[LJ_Inst_PreLoad.NT.Services]
AddService = %Dot4_Service%,0x00000002,HP_DOT4_Inst
AddService = %Dot4Usb_Service%,,HP_DOT4_USB_Service_Inst

[CM8060_XP_USB.NT.Services]
Include=DOT4.INF
Needs=DOT4.Services
AddService = dot4usb,,DOT4USB_Service_Inst

[CM8050_XP_USB.NT.Services]
Include=DOT4.INF
Needs=DOT4.Services
AddService = dot4usb,,DOT4USB_Service_Inst

[LJMS_Inst_PreLoad.NT.Services]
Include=DOT4.INF
Needs=DOT4.Services
AddService = dot4usb,,DOT4USB_Service_Inst

;
; Service configuration info
;

[HP_Dot4_Inst]
DisplayName     = %Dot4_Name%
ServiceType     = 1             ; Kernel driver
StartType       = 3             ; Manual start
ErrorControl    = 1             ; Error ignore
ServiceBinary   = %12%\HPZid412.sys

[HP_DOT4_USB_Service_Inst]
DisplayName    = %DOT4USB_NAME% "Dot4USB Filter"
ServiceType    = 1 ;KERNEL_DRIVER
StartType      = 3 ;DEMAND START
ErrorControl   = 0 ;ERROR_IGNORE
ServiceBinary  = %12%\HPZius12.sys
LoadOrderGroup = extended base

[DOT4USB_Service_Inst]
DisplayName    = %MS_DOT4USB_NAME% "Dot4USB Filter"
ServiceType    = 1 ;KERNEL_DRIVER
StartType      = 3 ;DEMAND START
ErrorControl   = 0 ;ERROR_IGNORE
ServiceBinary  = %12%\dot4usb.sys
LoadOrderGroup = extended base

;====================================================

[Strings]
HP                      = "Hewlett-Packard"
INF_Provider            = "Hewlett-Packard"
CD                      = "hp cd"
DOT4USB_NAME            = "USB to IEEE-1284.4 Translation Driver HPZius12"
Dot4Usb_Service         = "HPZius12"
Dot4_Service            = "HPZid412"
Dot4_Name               = "IEEE-1284.4 Driver"
Print_Func        	= "Functions\PRINT_hpz"
MS_Print_Func         = "Functions\PRINT"
Policy              	= "Policy"
CreditOnZeroLength  	= "CreditOnZeroLength"
PiggyBackCredit     	= "PiggyBackCredit"
UseInterruptEndPoint    = "UseInterruptEndPoint"
Desc_Val            	= "Description"
HP_Device               = "HP Device"
MS_DOT4USB_NAME		= "MS Dot4USB Filter"
