WDM プリンタINFファイル解析一般 新しいページはコチラ
提供: yonewiki
(→INFファイルの読み解き) |
(→INFファイルの読み解き) |
||
333行: | 333行: | ||
: ntprint.infって何?って感じですが、マイクロソフトユニバーサルプリンタドライバ (Unidrv) を意味していて、この共通の部品をインストールして、独自のドライバと併せて動かすことができます。 | : ntprint.infって何?って感じですが、マイクロソフトユニバーサルプリンタドライバ (Unidrv) を意味していて、この共通の部品をインストールして、独自のドライバと併せて動かすことができます。 | ||
+ | |||
+ | |||
+ | === ''' NTPRIN.INI '''=== | ||
+ | ntprint.iniの中身は以下のようになっています。 | ||
+ | <syntaxhighlight2 lang="INI" line=1> | ||
+ | ; | ||
+ | ; @file NuanPrint.inf for 32 and 64Bit System | ||
+ | ; | ||
+ | [Version] | ||
+ | Signature="$Windows NT$" | ||
+ | Provider=%AUTHOR% | ||
+ | LayoutFile=ntprint.inf | ||
+ | ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318} | ||
+ | Class=Printer | ||
+ | |||
+ | ; Date & version of driver package | ||
+ | DriverVer=05/12/2006,1.0.0.0 | ||
+ | ; | ||
+ | ; Manufacturer section | ||
+ | ; | ||
+ | [Manufacturer] | ||
+ | "Scansoft" = Scansoft,NTamd64 | ||
+ | |||
+ | ; | ||
+ | ; 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. | ||
+ | ; | ||
+ | [Scansoft] | ||
+ | "PaperPort Image Printer" = Nuan.gpd | ||
+ | |||
+ | [Scansoft.NTamd64] | ||
+ | "PaperPort Image Printer" = Nuan.gpd | ||
+ | |||
+ | ; | ||
+ | ; 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. | ||
+ | ; | ||
+ | [Nuan.gpd] | ||
+ | CopyFiles=@Nuan.gpd,@NuanPrn.ini,DLLFILES | ||
+ | DataSection=UNIDRV_DATA | ||
+ | DataFile=Nuan.gpd | ||
+ | Include=NTPRINT.INF | ||
+ | Needs=UNIDRV.OEM,UNIDRV_DATA | ||
+ | |||
+ | ; | ||
+ | ; Copy Sections | ||
+ | ; | ||
+ | [DLLFILES] | ||
+ | NuanUNI.DLL | ||
+ | NuanUI.DLL | ||
+ | Nuanoemuires.dll | ||
+ | NuanImageConvert.exe | ||
+ | |||
+ | ; | ||
+ | ; Data Sections | ||
+ | ; | ||
+ | ; These sections contain data that is shared between devices. | ||
+ | ; | ||
+ | |||
+ | ; | ||
+ | ; Call SetupSetDirectoryId with 66000 to set the target directory at runtime | ||
+ | ; (depending on which environment drivers are getting installed) | ||
+ | ; | ||
+ | [DestinationDirs] | ||
+ | DefaultDestDir=66000 | ||
+ | |||
+ | ; | ||
+ | ; diskid = description,tagfile,unused,subdir | ||
+ | ; | ||
+ | |||
+ | [SourceDisksFiles.x86] | ||
+ | Nuanuni.dll = 1,,,,,,,11,\i386 | ||
+ | Nuanui.dll = 1,,,,,,,11,\i386 | ||
+ | Nuanoemuires.dll= 1,,,,,,,11,\i386 | ||
+ | NuanImageconvert.exe= 1,,,,,,,11,\i386 | ||
+ | [SourceDisksFiles.amd64] | ||
+ | Nuanuni.dll = 1,,,,,,,11,\amd64 | ||
+ | Nuanui.dll = 1,,,,,,,11,\amd64 | ||
+ | Nuanoemuires.dll= 1,,,,,,,11,\amd64 | ||
+ | NuanImageconvert.exe= 1,,,,,,,11,\amd64 | ||
+ | ; | ||
+ | ; Localizable Strings | ||
+ | ; | ||
+ | [Strings] | ||
+ | AUTHOR="Scansoft wintone" | ||
+ | |||
+ | </syntaxhighlight2> |