;
; Sample combination printer INF for NT 4.0 and Win95.
; 
; (This inf should work for both OS's, but not all sections apply to both.)
;
;

[Version]
Signature="$Windows NT$"
Provider=%DRV_MAKER%
ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
Class=Printer
DriverVer=02/07/2005,5.00.000L

[ClassInstall]
AddReg=ClassAddReg
DelReg=ClassDelReg

[ClassDelReg]
HKLM,"System\CurrentControlSet\Services\Class\Printer","NoUseClass"

[ClassAddReg]
HKR,,,,%CLASSNAME%
HKR,,Installer,,MSPRINT.DLL
HKR,,Icon,,-4
HKR,,NoDisplayClass,,1

[Environment]
UpdateInis=Environment_Ini
AddReg=Environment_Reg

[Environment_Ini]
win.ini,Ports,"LPT1.DOS=",
win.ini,Ports,"LPT2.DOS=",
win.ini,Ports,"LPT3.DOS=",
win.ini,Ports,"LPT1.OS2=",
win.ini,Ports,"LPT2.OS2=",
win.ini,Ports,"LPT3.OS2=",
win.ini,windows,"Spooler=",
win.ini,windows,"DosPrint=",
win.ini,windows,"DeviceNotSelectedTimeout=",
win.ini,windows,"TransmissionRetryTimeout=",

;
; Manufacturer Sections
;
; This section lists all of the manufacturers that we will
; display in the Dialog box.
;
[Manufacturer]
%DRV_MAKER%=SECTION_0

;
; Model Sections 
;
; These sections correspond with an entry listed in the
; [Manufacturer] section above. The models will be displayed in the order
; that they appear here.
;
[SECTION_0]
"lenovo M9317"     = Len_17cn.pfd, USBPRINT\lenovoM9317B6EA, lenovoM9317
"lenovo M9317"     = Len_17cn.pfd


;
; Installer Sections
;
; These sections control file installation, and reference all files that
; need to be copied. The section name will be assumed to be the driver data
; file, unless there is an explicit DataFile section listed.
;
; Also note the ".NT" or ".WIN" notation. This is done to allow for a single INF to 
; work on Win9x and WinNT. When this format is used, the DataFile must be declared explicitly. 
; Win95 does not support this notation, so the old format is used.
; See the latest WinNT DDK for more info.   
;


[Len_17cn.pfd]
CopyFiles=@Len_17cn.pfd,@Pan_le17.INI,Printer_CFILE_NT, Printer_CFILE_NT_LENOVO
DataFile=Len_17cn.pfd
DataSection=Printer_DATA_NT




; Copy Sections
;
; Lists of files that are actually copied. These sections are referenced
; from the installer sections above. Only create a section if it contains
; two or more files (if we only copy a single file, identify it in the
; installer section, using the @filename notation) or if it's a color
; profile (since the DestinationDirs can only handle sections, and not
; individual files).
;


[Printer_CFILE_NT]
PFWNTMPM.DLL,,,32
PFWNTMUI.DLL,,,32
PFWDLG32.DLL,,,32
PFWDLG32.INI,,,32
CODEC32.DLL,,,32
PFW_UMPD.DLL,,,32
PFW_UMPD.INI,,,32
PFWNTLIB.DLL,,,32
PFW_UI32.DLL,,,32
PFW_UILE.HLP,,,32
PFW_UILE.CNT,,,32
PFWNTMPM.INI,,,32
PFWGTDEV.DLL,,,32
PFWSTMCL.DLL,,,32
PANJPURL.DLL,,,32
PURLEN17.INI,,,32


[Printer_CFILE_NT_LENOVO]
PFXJBIG2.DLL,,,32
PFW_BM32.DLL,,,32



;
; Data Sections
;
; These sections contain data that is shared between devices.
;


[Printer_DATA_NT]
DriverFile=PFWNTMPM.DLL
ConfigFile=PFWNTMUI.DLL
HelpFile=PFW_UILE.HLP

;
; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
; (depending on which environment drivers are getting installed)
;

[DestinationDirs]
DefaultDestDir=66000
MGCSLANG=66002

;
; diskid = description,tagfile,unused,subdir
;
[SourceDisksNames]
4 = %Floppy%,,,""

;
; filename_on_source = diskid,subdir,size,checksum,spare,spare
; extra fields are nt-specific
;   bootmediaord,targetdirectory,upgradedisposition,textmodedisposition,targetname
;
[SourceDisksFiles]
PFWNTMPM.DLL = 4
PFWNTMUI.DLL = 4
PFWDLG32.DLL = 4
PFWDLG32.INI = 4
CODEC32.DLL = 4
PFXJBIG.DLL = 4
PFWR_UMPD.DLL = 4
PFW_UMPD.INI = 4
PFWNTLIB.DLL = 4
PFW_UI32.DLL = 4
PFW_UILE.HLP = 4
PFW_UILE.CNT = 4
PFWNTMPM.INI = 4
PFWGTDEV.DLL = 4
PFW_BM32.DLL = 4
PFXJBIG2.DLL = 4
PFRSTMCL.DLL = 4
PANJPURL.DLL = 4
PURLEN17.INI = 4


;
; Localizable Strings
;
[Strings]
CLASSNAME="lenovo"
Floppy="lenovo Document Management System"
DRV_MAKER="lenovo"
