home *** CD-ROM | disk | FTP | other *** search
/ DOS/V Power Report 1996 July / VPR9607B.BIN / driver / epson / nt35_10a / printer.inf < prev    next >
INI File  |  1995-04-20  |  15KB  |  351 lines

  1. [Identification]
  2.     OptionType = PRINTER
  3. [Options]
  4. ;"EPSON AP-1000V2"                                 = rasdduij, e_escp11, rasddj
  5. ;"EPSON AP-400V2"                                  = rasdduij, e_escp11, rasddj
  6. "EPSON LP-1000"                                    = e_pui11, escpage, e_page11
  7. "EPSON LP-1500"                                    = e_pui11, escpage, e_page11
  8. "EPSON LP-1500S"                                   = e_pui11, escpage, e_page11
  9. "EPSON LP-1600"                                    = e_pui11, escpage, e_page11
  10. "EPSON LP-2000"                                    = e_pui11, escpage, e_page11
  11. "EPSON LP-3000"                                    = e_pui11, escpage, e_page11
  12. "EPSON LP-7000/7000G"                              = e_pui11, escpage, e_page11
  13. "EPSON LP-8000"                                    = e_pui11, escpage, e_page11
  14. "EPSON LP-8000S"                                   = e_pui11, escpage, e_page11
  15. "EPSON LP-8000SE"                                  = e_pui11, escpage, e_page11
  16. "EPSON LP-8000SX"                                  = e_pui11, escpage, e_page11
  17. "EPSON LP-8500"                                    = e_pui11, escpage, e_page11
  18. "EPSON LP-9000"                                    = e_pui11, escpage, e_page11
  19. "EPSON MJ-700V2C"                                  = rasdduij, e_escp14, rasddj
  20. "EPSON MJ-5000C"                                   = rasdduij, e_escp14, rasddj
  21. ;"EPSON VP-1100"                                   = rasdduij, e_escp11, rasddj
  22. ;"EPSON VP-4000"                                   = rasdduij, e_escp11, rasddj
  23. ;"EPSON VP-5000"                                   = rasdduij, e_escp11, rasddj
  24. ;"EPSON VP-600"                                    = rasdduij, e_escp11, rasddj
  25. ;"EPSON VP-6000"                                   = rasdduij, e_escp11, rasddj
  26.  
  27.  
  28. [Identify]
  29.     read-syms Identification
  30.     set Status     = STATUS_SUCCESSFUL
  31.     set Identifier = $(OptionType)
  32.     set Media      = #("Source Media Descriptions", 1, 1)
  33.     Return $(Status) $(Identifier) $(Media)
  34. [ReturnOptions]
  35.     set Status        = STATUS_FAILED
  36.     set OptionList     = {}
  37.     set OptionTextList = {}
  38.     set LanguageList = ^(LanguagesSupported, 1)
  39.     Ifcontains(i) $($0) in $(LanguageList)
  40.         goto returnoptions
  41.     else
  42.         set Status = STATUS_NOLANGUAGE
  43.         goto finish_ReturnOptions
  44.     endif
  45. returnoptions = +
  46.     set OptionList     = ^(Options, 0)
  47.     set OptionTextList = ^(OptionsText$($0), 1)
  48.     set Status         = STATUS_SUCCESSFUL
  49. finish_ReturnOptions = +
  50.     Return $(Status) $(OptionList) $(OptionTextList)
  51. [InstallOption]
  52.     set Status   = STATUS_FAILED
  53.     set Option   = $($1)
  54.     set SrcDir   = $($2)
  55. ;    set AddCopy  = $($3)
  56. ;    set DoCopy   = $($4)
  57. ;    set DoConfig = $($5)
  58.     set AddCopy  = "YES"
  59.     set DoCopy   = "YES"
  60.     set DoConfig = "YES"
  61.     set LanguageList = ^(LanguagesSupported, 1)
  62.     Ifcontains(i) $($0) in $(LanguageList)
  63.     else
  64.         set Status = STATUS_NOLANGUAGE
  65.         goto finish_InstallOption
  66.     endif
  67.     read-syms Strings$($0)
  68.     set OptionList = ^(Options, 0)
  69.     ifcontains $(Option) in $(OptionList)
  70.     else
  71.         goto finish_InstallOption
  72.     endif
  73.     set OptionList = ""
  74.     set ConfigOption = #(Options, $(Option), 1)
  75.     set DataOption   = #(Options, $(Option), 2)
  76.     set DriverOption = #(Options, $(Option), 3)
  77. installtheoption = +
  78.     ifstr(i) $(AddCopy) == "YES"
  79.         install Install-AddCopyOption
  80.         ifstr(i) $(STF_INSTALL_OUTCOME) != "STF_SUCCESS"
  81.             Debug-Output "Adding video files to copy list failed"
  82.             goto finish_InstallOption
  83.         endif
  84.     endif
  85.     ifstr(i) $(DoCopy) == "YES"
  86.         read-syms ProgressCopy$($0)
  87.         install Install-DoCopyOption
  88.         ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  89.             Debug-Output "Copying files failed"
  90.             goto finish_InstallOption
  91.         else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  92.             set Status = STATUS_USERCANCEL
  93.             goto finish_InstallOption
  94.         endif
  95.     endif
  96.     ifstr(i) $(DoConfig) == "YES"
  97.         set DriverPath      = $(!STF_PRNDRIVERPATH)"\"#(Files-PrinterDriver, $(DriverOption), 2)
  98.         set DataFilePath    = $(!STF_PRNDRIVERPATH)"\"#(Files-PrinterData,   $(DataOption),   2)
  99.         set ConfigFilePath  = $(!STF_PRNDRIVERPATH)"\"#(Files-PrinterConfig, $(ConfigOption), 2)
  100.         LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(DriverPath)
  101.         ifstr(i) $(STATUS) == YES
  102.             LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(DataFilePath)
  103.             ifstr(i) $(STATUS) == YES
  104.                 LibraryProcedure STATUS,$(!LIBHANDLE),CheckFileExistance $(ConfigFilePath)
  105.             endif
  106.         endif
  107.         ifstr(i) $(STATUS) == NO
  108.             set OptionText = #(OptionsText$($0), $(Option), 1)
  109.             shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String4)$(OptionText)$(String5)
  110.             Debug-Output "Copying printer files failed"
  111.             goto finish_InstallOption
  112.         endif
  113.         install Install-Configure
  114.         ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_FAILURE"
  115.             Debug-Output "Installing printer driver failed"
  116.             goto finish_InstallOption
  117.         else-ifstr(i) $(STF_INSTALL_OUTCOME) == "STF_USERQUIT"
  118.             set Status = STATUS_USERCANCEL
  119.             goto finish_InstallOption
  120.         endif
  121.         ifstr(i) $(STATUS) != "ADDED"
  122.             set OptionText = #(OptionsText$($0), $(Option), 1)
  123.             ifstr(i) $(STATUS) == "PRESENT"
  124.                 shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String1)$(OptionText)$(String2)
  125.                 set Status = STATUS_SUCCESSFUL
  126.             else-ifstr(i) $(STATUS) == "DENIED"
  127.                 shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String6)
  128.             else
  129.                 shell "subroutn.inf" SetupMessage $($0) "NONFATAL" $(String1)$(OptionText)$(String7)
  130.             endif
  131.             goto finish_InstallOption
  132.         endif
  133.     endif
  134.     set Status = STATUS_SUCCESSFUL
  135. finish_InstallOption = +
  136.     Return $(Status)
  137. [Install-AddCopyOption]
  138.     set STF_VITAL = ""
  139. ;    set STF_OVERWRITE   = "VERIFYSOURCEOLDER"
  140.     set STF_OVERWRITE   = "ALWAYS"
  141.     AddSectionKeyFileToCopyList   Files-PrinterConfig          +
  142.                                   $(ConfigOption)              +
  143.                                   $(SrcDir)                    +
  144.                                   $(!STF_PRNDRIVERPATH)
  145.     AddSectionKeyFileToCopyList   Files-PrinterData            +
  146.                                   $(DataOption)                +
  147.                                   $(SrcDir)                    +
  148.                                   $(!STF_PRNDRIVERPATH)
  149.     AddSectionKeyFileToCopyList   Files-PrinterDriver          +
  150.                                   $(DriverOption)              +
  151.                                   $(SrcDir)                    +
  152.                                   $(!STF_PRNDRIVERPATH)
  153.     AddSectionKeyFileToCopyList   Files-PrinterDriverHelp      +
  154.                                   $(DriverOption)              +
  155.                                   $(SrcDir)                    +
  156.                                   $(!STF_PRNDRIVERPATH)
  157.     exit
  158. [Install-DoCopyOption]
  159.     CopyFilesInCopyList
  160.     exit
  161. [Install-Configure]
  162.     set Model       = $(Option)
  163.     set Driver      = #(Files-PrinterDriver, $(DriverOption), 2)
  164.     set DataFile    = #(Files-PrinterData,   $(DataOption),   2)
  165.     set ConfigFile  = #(Files-PrinterConfig, $(ConfigOption), 2)
  166.     LibraryProcedure STATUS,$(!LIBHANDLE), SetupAddPrinterDriver   +
  167.                                                $(Model)            +
  168.                                                $(!STF_PRNENVIRONM) +
  169.                                                $(Driver)           +
  170.                                                $(DataFile)         +
  171.                                                $(ConfigFile)       +
  172.                                                $(!STF_PRINTSERVER)
  173.     exit
  174. [ExternalInstallOption]
  175.     Set !G:DebugOutputControl = 0
  176.     set Exit_Code    = $(!SETUP_ERROR_GENERAL)
  177.     set DrivesToFree = {}
  178.     install LoadSetupLibrary
  179.     ifstr(i)      $(STF_LANGUAGE)  == ""
  180.         goto end
  181.     else-ifstr(i) $(OPTION)        == ""
  182.         goto end
  183.     else-ifstr(i) $(ADDCOPY)       == ""
  184.         goto end
  185.     else-ifstr(i) $(DOCOPY)        == ""
  186.         goto end
  187.     else-ifstr(i) $(DOCONFIG)      == ""
  188.         goto end
  189.     endif
  190.     read-syms PlatformID
  191.     read-syms ProductType
  192.     ifstr(i) $(STF_PLATFORM) == $(PlatformID_I386)
  193.         set STF_PRNPLATFORM = "w32x86"
  194.         set STF_PRNENVIRONM = "Windows NT x86"
  195.     else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_Mips)
  196.         set STF_PRNPLATFORM = "w32mips"
  197.         set STF_PRNENVIRONM = "Windows NT R4000"
  198.     else-ifstr(i) $(STF_PLATFORM) == $(PlatformID_Alpha)
  199.         set STF_PRNPLATFORM = "w32alpha"
  200.         set STF_PRNENVIRONM = "Windows NT Alpha_AXP"
  201.     else
  202.         goto end
  203.     endif
  204.     read-syms UiVars
  205.     detect    UiVars
  206.     read-syms Strings$(STF_LANGUAGE)
  207.     ifstr(i) $(STF_SRCDIR) != $(STF_CWDDIR)
  208.         goto skip_asksource
  209.     endif
  210.     set STF_SRCDIR = A:\
  211.     shell "registry.inf" GetNTSource
  212.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  213.     else-ifstr(i) $($R0) != STATUS_SUCCESSFUL
  214.     else
  215.         set STF_SRCDIR = $($R1)
  216.     endif
  217.     shell "subroutn.inf" DoAskSource $(STF_SRCDIR)
  218.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  219.         Debug-Output "shelling DoAskSource failed"
  220.         goto end
  221.     endif
  222.     ifstr(i) $($R0) == STATUS_SUCCESSFUL
  223.         set STF_SRCDIR  = $($R1)
  224.         ifstr(i) $($R2) != ""
  225.             set DrivesToFree = >($(DrivesToFree), $($R2))
  226.         endif
  227.     else
  228.         goto end
  229.     endif
  230. skip_asksource = +
  231.     LibraryProcedure IsFullPath, $(!LIBHANDLE), CheckPathFullPathSpec $(STF_PRNDRIVERPATH)
  232.     ifstr(i) $(IsFullPath) == "NO"
  233.         LibraryProcedure STATUS, $(!LIBHANDLE), ProcessForUNC $(STF_PRNDRIVERPATH)
  234.         ifstr(i) $(STATUS) == "ERROR"
  235.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)
  236.             goto end
  237.         else-ifstr(i) $(STATUS) == "NOT-UNC"
  238.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)
  239.             goto end
  240.         else-ifstr(i) $(STATUS) == "UNC-FAILCONNECT"
  241.             shell "subroutn.inf" SetupMessage $(!STF_LANGUAGE) "NONFATAL" $(String3)
  242.             goto end
  243.         else
  244.             set STF_PRNDRIVERPATH = $(STATUS)
  245.         endif
  246.     endif
  247.     shell "" InstallOption $(STF_LANGUAGE) $(OPTION) $(STF_SRCDIR) $(ADDCOPY) $(DOCOPY) $(DOCONFIG)
  248.     ifint $($ShellCode) != $(!SHELL_CODE_OK)
  249.         Debug-Output "Execing InstallOption failed"
  250.         goto end
  251.     endif
  252.     ifstr(i) $($R0) == STATUS_SUCCESSFUL
  253.         set Exit_Code = $(!SETUP_ERROR_SUCCESS)
  254.     else-ifstr(i) $($R0) == STATUS_USERCANCEL
  255.         set Exit_Code = $(!SETUP_ERROR_USERCANCEL)
  256.     endif
  257. end =+
  258.     ForListDo $(DrivesToFree)
  259.         LibraryProcedure STATUS,$(!LIBHANDLE), DeleteNetConnection $($) "TRUE"
  260.     EndForListDo
  261.     install   FreeSetupLibrary
  262.     exit
  263. [LoadSetupLibrary]
  264.     LoadLibrary "x" $(!STF_CWDDIR)setupdll.dll !LIBHANDLE
  265.     exit
  266. [FreeSetupLibrary]
  267.     FreeLibrary $(!LIBHANDLE)
  268.     exit
  269. [PlatformID]
  270.     PlatformID_I386 = I386
  271.     PlatformID_Mips = Mips
  272.     PlatformID_Alpha  = Alpha
  273. [UiVars]
  274.     STF_CONTROLSET     = CurrentControlSet
  275.     STF_WINDOWSPATH    = "" ? $(!LIBHANDLE) GetWindowsNtDir
  276.     STF_WINDOWSSYSPATH = "" ? $(!LIBHANDLE) GetWindowsNtSysDir
  277.     STF_PRNDRIVERPATH  = "" ? $(!LIBHANDLE) GetPrinterDriverDir $(!STF_PRINTSERVER) $(!STF_PRNENVIRONM)
  278. [Source Media Descriptions]
  279. ;    1  = "OEM Disk (PRINTER)"  , TAGFILE = disk1
  280.     1  = "EPSON PRINTER DRIVER DISK for Windows NT 3.5"  , TAGFILE = disk1
  281. [Signature]
  282.     FileType = MICROSOFT_FILE
  283. [GetSignature]
  284.     read-syms Signature
  285.     return $(FileType)
  286.  
  287. [ProductType]
  288. STF_PRODUCT  = Winnt
  289. STF_PLATFORM = I386
  290. [Files-PrinterConfig]
  291. e_pui11 = 1,E_PUI11.DLL , SIZE=218624
  292. rasdduij = 1,rasdduij.dll , SIZE=999
  293.  
  294. [Files-PrinterData]
  295. escpage = 1,ESCPAGE , SIZE=99
  296. ;e_escp11 = 1,E_ESCP11.DLL , SIZE=999
  297. e_escp14 = 1,E_ESCP14.DLL , SIZE=9728
  298.  
  299. [Files-PrinterDriver]
  300. e_page11 = 1,E_PAGE11.DLL , SIZE=211968
  301. rasddj = 1,rasddj.dll , SIZE=999
  302.  
  303. [Files-PrinterDriverHelp]
  304. e_page11 = 1,E_PUI11.HLP , SIZE=30661
  305. rasddj = 1,rasdduij.hlp , SIZE=999
  306.  
  307. [LanguagesSupported]
  308.     ENG
  309. [OptionsTextENG]
  310. ;"EPSON AP-400V2"                                   = "EPSON AP-400V2"
  311. ;"EPSON AP-1000V2"                                  = "EPSON AP-1000V2"
  312. "EPSON LP-1500"                                    = "EPSON LP-1500"
  313. "EPSON LP-1500S"                                   = "EPSON LP-1500S"
  314. "EPSON LP-1600"                                    = "EPSON LP-1600"
  315. "EPSON LP-2000"                                    = "EPSON LP-2000"
  316. "EPSON LP-3000"                                    = "EPSON LP-3000"
  317. "EPSON LP-7000/7000G"                              = "EPSON LP-7000/7000G"
  318. "EPSON LP-8000"                                    = "EPSON LP-8000"
  319. "EPSON LP-8000S"                                   = "EPSON LP-8000S"
  320. "EPSON LP-8000SE"                                  = "EPSON LP-8000SE"
  321. "EPSON LP-8000SX"                                  = "EPSON LP-8000SX"
  322. "EPSON LP-8500"                                    = "EPSON LP-8500"
  323. "EPSON LP-9000"                                    = "EPSON LP-9000"
  324. "EPSON MJ-700V2C"                                  = "EPSON MJ-700V2C"
  325. "EPSON MJ-5000C"                                   = "EPSON MJ-5000C"
  326. ;"EPSON VP-600"                                     = "EPSON VP-600"
  327. ;"EPSON VP-1100"                                    = "EPSON VP-1100"
  328. ;"EPSON VP-4000"                                    = "EPSON VP-4000"
  329. ;"EPSON VP-5000"                                    = "EPSON VP-5000"
  330. ;"EPSON VP-6000"                                    = "EPSON VP-6000"
  331. [StringsENG]
  332.     String1 = "プリンタ"
  333.     String2 = " はすでに組み込まれています。"
  334.     String3 = "プリント サーバーへの接続に失敗しました。"
  335.     String4 = "プリンタ のドライバ ファイル"
  336.     String5 = "をコピーできませんでした。このプリンタの組み込みに失敗しました。"
  337.     String6 = "アクセスが拒否されました。この操作を行うには、管理者グループの"+
  338.               "メンバーとしてログオンしなければなりません。"
  339.     String7 = "を組み込むことができませんでした。"
  340. [ProgressCopyENG]
  341.     ProCaption   = "Windows NT セットアップ"
  342.     ProCancel    = "キャンセル"
  343.     ProCancelMsg = "Windows NT は正しく組み込まれていません。"+
  344.                    "ファイルのコピーを中止しますか?"
  345.     ProCancelCap = "セットアップ メッセージ"
  346.     ProText1     = "コピー元:"
  347.     ProText2     = "コピー先:"
  348.  
  349.  
  350.  
  351.