[Version]
Signature="$CHICAGO$"
Class=USB
ClassGUID={36FC9E60-C465-11CF-8056-444553540000}
provider=%BY%
LayoutFile=layout.inf
DriverVer=4/5/2006,2.2.0.0

[Manufacturer]
%Beiyang%=Testver

[Testver]
%USB\BEIYANG.DeviceDesc%=BULKUSB.Dev, USB\VID_154F&PID_154F
%USB\BEIYANG.DeviceDesc%=BULKUSB.Dev, USB\VID_04ce&PID_04ce
;label printer pid_1000
%USB\BEIYANG.DeviceDesc1%=BULKUSB.Dev, USB\VID_154F&PID_1000
%USB\BEIYANG.DeviceDesc%=BULKUSB.Dev, USB\VID_154F&PID_1001

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
BULKUSB.Files.Ext = 10,System32\Drivers
BULKUSB.Files.Inf = 10,INF

[BULKUSB.Dev]
CopyFiles=BULKUSB.Files.Ext, BULKUSB.Files.Inf
AddReg=BULKUSB.AddReg

[BULKUSB.Dev.NT]
CopyFiles=BULKUSB.Files.Ext, BULKUSB.Files.Inf
AddReg=BULKUSB.AddReg

[BULKUSB.Dev.NT.Services]
Addservice = BULKUSB, 0x00000002, BULKUSB.AddService

[BULKUSB.AddService]
DisplayName    = %BULKUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ;SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\BULKUSB.sys
LoadOrderGroup = Base

[BULKUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,BULKUSB.sys
;HKLM,"System\Currentcontrolset\Services\BulkUsb\Parameters","MaximumTransferSize",0x10001,4096
;HKLM,"System\Currentcontrolset\Services\BulkUsb\Parameters","DebugLevel",0x10001,2

HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D1",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D2",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D3",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D4",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D5",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D6",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D7",0x10001,
HKLM,"SOFTWARE\BEIYANG\PRINTERPORT","D8",0x10001,


[BULKUSB.Files.Ext]
BULKUSB.sys

[BULKUSB.Files.Inf]
bulkusb.inf


;---------------------------------------------------------------;

[Strings]
BY="Beiyang"
Beiyang="Beiyang Weihai"
USB\BEIYANG.DeviceDesc="USB Device Driver for POS/KIOSK Printers"
USB\BEIYANG.DeviceDesc1="USB Device Driver for Label Printers"
BULKUSB.SvcDesc="USB Device Driver"
