Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
3.4 KiB

  1. ;
  2. ; Copyright (c) 1999-2003 OEM Company Name
  3. ;
  4. ; OEMPRINT.INF - Sample INF to install OEM printer models and take
  5. ; advantage of install sections in NTPRINT.INF
  6. ;
  7. [Version]
  8. Signature="$Windows NT$"
  9. Provider=%OEM%
  10. ClassGUID={4D36E979-E325-11CE-BFC1-08002BE10318}
  11. Class=Printer
  12. CatalogFile=OEMPRINT.cat
  13. ; Date & version of driver package
  14. DriverVer=MM/DD/YYYY,XX.XX.XX.XX
  15. ;
  16. ; Manufacturer section.
  17. ;
  18. ; This section lists all of the manufacturers
  19. ; that we will display in the Dialog box
  20. ;
  21. [Manufacturer]
  22. "OEM Company Name"
  23. ;
  24. ; Model sections.
  25. ;
  26. ; Each section here corresponds with an entry listed in the
  27. ; [Manufacturer] section, above. The models will be displayed in the order
  28. ; that they appear in the INF file.
  29. ;
  30. [OEM Company Name]
  31. "ABC UniDrv5 Printer" = OEMABC.GPD, OEM_Company_NameABC_640A, ABC_UniDrv5_Printer
  32. "BIDI UniDrv5 Printer (PJL)" = OEMDEF_INST, LPTENUM\OEM_Company_NameBIDIFD2C,BIDI_UniDrv5_Printer_(PJL)
  33. "BIDI UniDrv5 Printer (OEM Bidi)" = OEMBIDI.GPD, OEM_Company_NameBIDI25C9,BIDI_UniDrv5_Printer_(OEM_Bidi)
  34. "Color UniDrv5 Printer" = OEMCOLOR.GPD, OEM_Company_NameColo79B6,Color_UniDrv5_Printer
  35. "XYZ PScript Printer" = OEMXYZ.PPD, LPTENUM\OEM_Company_NameXYZ_F84F,XYZ_PScript_Printer
  36. ; Installer Sections
  37. ;
  38. ; These sections control file installation, and reference all files that
  39. ; need to be copied. The section name will be assumed to be the driver
  40. ; file, unless there is an explicit DriverFile section listed.
  41. ;
  42. [OEMABC.GPD]
  43. CopyFiles=@OEMRES.DLL,@OEMABC.GPD
  44. DataSection=UNIDRV_DATA
  45. Include=NTPRINT.INF
  46. Needs=TTFSUB.OEM,UNIDRV.OEM
  47. [OEMDEF_INST]
  48. CopyFiles=@OEMRES.DLL,@OEMDEF.GPD
  49. DataFile=OEMDEF.GPD
  50. DataSection=UNIDRV_BIDI_DATA
  51. Include=NTPRINT.INF
  52. Needs=TTFSUB.OEM,UNIDRV_BIDI.OEM
  53. [OEMBIDI.GPD]
  54. CopyFiles=@OEMRES.DLL,@OEMBIDI.GPD,OEM_BIDIMON
  55. DataSection=OEM_BIDI_DATA
  56. Include=NTPRINT.INF
  57. Needs=UNIDRV.OEM
  58. [OEMCOLOR.GPD]
  59. CopyFiles=@OEMCOLOR.GPD,OEM_COLOR
  60. DataSection=UNIDRV_DATA
  61. Include=NTPRINT.INF
  62. Needs=UNIDRV.OEM
  63. [OEMXYZ.PPD]
  64. CopyFiles=@OEMXYZ.PPD
  65. DataSection=PSCRIPT_DATA
  66. Include=NTPRINT.INF
  67. Needs=PSCRIPT.OEM
  68. ;
  69. ; Data Sections
  70. ;
  71. [OEM_BIDI_DATA]
  72. DriverFile=UNIDRV.DLL
  73. ConfigFile=UNIDRVUI.DLL
  74. HelpFile=UNIDRV.HLP
  75. LanguageMonitor=%OEM_MONITOR%
  76. ; Copy Sections
  77. ;
  78. ; Lists of files that are actually copied. These sections are referenced
  79. ; from the installer sections, above. Only create a section if it contains
  80. ; two or more files (if we only copy a single file, identify it in the
  81. ; installer section, using the @filename notation) or if it's a color
  82. ; profile (since the DestinationDirs can only handle sections, and not
  83. ; individual files).
  84. [OEM_BIDIMON]
  85. OEMMON.DLL,,,0x00000020 ; Copy only if new binary
  86. [OEM_COLOR]
  87. OEMCOLOR.ICM,,,0x00000020 ; Copy only if new binary
  88. ;
  89. ; Call SetupSetDirectoryId with 66000 to set the target directory at runtime
  90. ; (depending on which environment drivers are getting installed)
  91. ;
  92. [DestinationDirs]
  93. DefaultDestDir=66000
  94. OEM_BIDIMON=66002
  95. OEM_COLOR=66003
  96. [SourceDisksNames.x86]
  97. 1 = %Disk1%,,,""
  98. [SourceDisksFiles]
  99. oemprint.inf =1
  100. oemabc.gpd =1
  101. oemres.dll =1
  102. oemdef.gpd =1
  103. oembidi.gpd =1
  104. oemmon.dll =1
  105. oemcolor.gpd =1
  106. oemcolor.icm = 1
  107. oemxyz.ppd =1
  108. ;
  109. ; Localizable Strings
  110. ;
  111. [Strings]
  112. OEM="OEM Company Name"
  113. PrinterClassName="Printers"
  114. Disk1="OEM Driver Setup Disk 1"
  115. OEM_MONITOR="OEM Language Monitor,OEMMON.DLL"