;-------------------------------------------------------------------------------
;
; PTUSB.INF  --	Windows USB Printer Device Driver
;
; Copyright(C) 2012 Partner Tech Corporation 
;
;-------------------------------------------------------------------------------

[Version]
Signature = "$CHICAGO$"
Class     = USB
ClassGUID = {36FC9E60-C465-11CF-8056-444553540000}
provider  = PTT
CatalogFile =PTUSB.cat
DriverVer = 11/08/2012,1.0.0.0
LayoutFile= layout.inf

[Manufacturer]
%Device.MfgPTT%=ModelsPTT,NTx86,NTamd64

[ModelsPTT]
; POS/KIOSK Printers
%USB\PTT.POSPrinterDesc%=Device.Printer, USB\VID_076C&PID_0302
%USB\PTT.POSPrinterDesc%=Device.Printer, USB\VID_076C&PID_0304

[ModelsPTT.NTx86]
; POS/KIOSK Printers
%USB\PTT.POSPrinterDesc%=Device.Printer, USB\VID_076C&PID_0302
%USB\PTT.POSPrinterDesc%=Device.Printer, USB\VID_076C&PID_0304

[ModelsPTT.NTamd64]
; POS/KIOSK Printers
%USB\PTT.POSPrinterDesc%=Device.Printer, USB\VID_076C&PID_0302
%USB\PTT.POSPrinterDesc%=Device.Printer, USB\VID_076C&PID_0304

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
PTUSB.Files.Ext = 10,System32\Drivers

[Device.Printer]
CopyFiles=PTUSB.Files.Ext
AddReg=PTUSB.AddReg

[Device.Printer.NTx86]
CopyFiles=PTUSB.Files.Ext
AddReg=PTUSB.AddReg

[Device.Printer.NTx86.Services]
Addservice = PTUSB, 0x00000002, PTUSB.AddService

[Device.Printer.Services]
Addservice = PTUSB, 0x00000002, PTUSB.AddService

[Device.Printer.NTamd64]
CopyFiles=PTUSB.Files.Ext 
AddReg=PTUSB.AddReg

[Device.Printer.NTamd64.Services]
Addservice = PTUSB, 0x00000002, PTUSB.AddService

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

[PTUSB.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,PTUSB.sys

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

[PTUSB.Files.Ext]
PTUSB.sys

[SourceDisksFiles]
PTUSB.sys=99

[SourceDisksNames]
99=%Disk%,,

;-------------------------------------------------------------------------------
;
; Strings section - Always put strings down here so they can be easily localized 
; to other languages
;
;-------------------------------------------------------------------------------

[Strings]
Provider="PTT"
Device.MfgPTT="Partner Tech Corporation"
USB\PTT.POSPrinterDesc="PTT Printer USB Driver"
PTUSB.SvcDesc="Printer USB Device Driver"
Disk="PTT Printer Driver"
