home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 April (Special) / Chip-Special_1997-04_cd.bin / epson / laser / epln1200 / setup.inf < prev    next >
Text File  |  1996-06-21  |  8KB  |  330 lines

  1. ;
  2. ; SETUP.INF Sample File
  3. ;
  4. #DEFAULT    ;procedure default
  5.     "EPSON Remote Control Panel Installer"     ;caption
  6.     "Version 4.10"    ;version
  7.     7            ;display col
  8.     1            ;caption
  9.     7            ;caption text
  10.     1            ;window bk col
  11.     7            ;window text
  12.     5            ;error window bk col
  13.     7            ;error window text col
  14.     1            ;list box bk col
  15.     0            ;list box cursor col
  16.     20
  17.     20
  18. }
  19. #CONFIRM 1,#1
  20.     10,5,60,12,"EPSON Remote Control Panel Installer"
  21.     &7,2,0,"This program installs the Remote Control Panel"
  22.     &7,3,0,"Utility and configures your PC for your"
  23.     &7,4,0,"printer."
  24.     &7,6,0,"Push the <Enter> key to continue. Otherwise"
  25.     &7,7,0,"push the <F4> key to exit."
  26.     &10,10,0,"Copyright (C) SEIKO EPSON Corporation 1996"
  27.     &10,11,0,"All rights reserved."
  28. }
  29. #IF #1
  30. #GOTO LABEL99
  31. #ENDIF
  32.  
  33. #LABEL LABEL1
  34. #SELECT #2,$2            ; select port
  35.     10,5,60,12,"PORT SELECTION"
  36.     &5,2,0,"Please choose the type of port your printer is"
  37.     &5,3,0,"connected to."
  38.     &5,5,0,"Select the port with the arrow keys,"
  39.     &5,6,0,"then push the <Enter> key."
  40.     20,9,20,2,""
  41.     2
  42.     "Parallel Port (LPT)","Parallel"
  43.     "Serial Port (COM)","Serial"
  44. }
  45.  
  46. #IF #2
  47. #SELECT #3,$6            ; select serial port
  48.     10,5,60,11,"SERIAL PORT"
  49.     &5,2,0,"To which Serial port is your printer connected?"
  50.     &5,4,0,"Select the port with the arrow keys, then push"
  51.     &5,5,0,"the <Enter> key."
  52.     25,8,10,2,""
  53.     2
  54.     " COM1:","1"
  55.     " COM2:","2"
  56. }
  57. #ELSE
  58. #SELECT #6,$6            ; select parallel port
  59.     10,5,60,12,"PARARELL PORT"
  60.     &5,2,0,"To which Parallel port is your printer connected?"
  61.     &5,4,0,"Select the port with the arrow keys, then push"
  62.     &5,5,0,"the <Enter> key."
  63.     25,8,10,3,""
  64.     3
  65.     " LPT1:","1"
  66.     " LPT2:","2"
  67.     " LPT3:","3"
  68. }
  69. #GOTO LABEL2
  70. #ENDIF
  71.  
  72. #SELECT #4,$4            ; select baud rate
  73.     10,4,60,18,"BAUD RATE"
  74.     &5,2,0,"Which baud rate do your want to use for your"
  75.     &5,3,0,"printer?"
  76.     &5,5,0,"Due to some hardware limitations, some PCs may"
  77.     &5,6,0,"not support high speed settings above 9600 baud."
  78.     &5,8,0,"Select the baud rate with the arrow keys, then push"
  79.     &5,9,0,"the <Enter> key."
  80.     25,12,10,5,""
  81.     9
  82.     "300","3"
  83.     "600","6"
  84.     "1200","12"
  85.     "2400","24"
  86.     "4800","48"
  87.     "9600","96"
  88.     "19200","192"
  89.     "38400","384"
  90.     "57600","576"
  91. }
  92.  
  93. #IF!= #4,3
  94. #CONFIRM 1,#1
  95.     10,5,60,16,"REQUIREMENT"
  96.     &5,2,0,"The default baud setting on the printer is 9600."
  97.     &5,3,0,"Use the printer's control panel to change the"
  98.     &5,4,0,"baud rate on the printer from 9600 to the"
  99.     &5,5,0,"following value."
  100.     &27,7,0,"%s00",$4
  101.     &5,9,0,"For other settings, the following default settings"
  102.     &5,10,0,"are used."
  103.     &10,11,0,"WORD LENGTH:8   PARITY:NONE   STOP BIT:1"
  104.     &10,12,0,"DTR:ON          DSR:OFF"
  105.     &15,14,0,"Push <Enter> key to continue."
  106. }
  107. #ENDIF
  108. #SELECT #5,$5            ; select re-direct port
  109.     10,5,60,17,"RE-DIRECT PORT"
  110.     &3,2,0,"Which port do you want to use for the logical port ?"
  111.     &3,4,0,"Some software applications request a logical port (LPT),"
  112.     &3,5,0,"so you should assign one to the serial port. Usually it"
  113.     &3,6,0,"is LPT1:, unless you are using another printer or"
  114.     &3,7,0,"parallel device connected to that prot."
  115.     &3,9,0,"Select the port with the arrow keys, then push the"
  116.     &3,10,0,"<Enter> key."
  117.     25,12,12,4,""
  118.     4
  119.     " LPT1:","LPT1"
  120.     " LPT2:","LPT2"
  121.     " LPT3:","LPT3"
  122.     " No setting","Not"
  123. }
  124.  
  125. #LABEL LABEL2
  126. #INPUT $11
  127.     10,5,60,13,"SOURCE DIRECTORY"
  128.     &5,2,0,"Please confirm the source directory that"
  129.     &5,3,0,"includes the utilities. Usually the following is"
  130.     &5,4,0,"the source directory:"
  131.     &30,6,1,"A:\"
  132.     &5,8,0,"If correct, push the <Enter> key. Otherwise"
  133.     &5,8,0,"push the <Backspace> key and type a different"
  134.     &5,9,0,"directory name."
  135.     10,11,40,"A:\"
  136. }
  137. #INPUT $7
  138.     10,5,60,15,"DIRECTORY"
  139.     &5,2,0,"Please choose the directory to use for the"
  140.     &5,3,0,"Remote Control Panel."
  141.     &5,5,0,"Push the <Enter> key to select the default"
  142.     &5,6,0,"directory listed below."
  143.     &30,8,1,"C:\EPSONRCP\"
  144.     &5,10,0,"Otherwise push the <Backspace> key and type a"
  145.     &5,11,0,"different directory name."
  146.     10,13,40,"C:\EPSONRCP\"
  147. }
  148. #CONFIRM 1,#10
  149.     10,5,60,13,"PATH"
  150.     &5,2,0,"Do you want to include this directory in the path"
  151.     &5,3,0,"statement in the AUTOEXEC.BAT file?"
  152.     &30,5,1,"%s",$7
  153.     &5,7,0,"If you include this directory in the path, you"
  154.     &5,8,0,"can start this Remote Control Panel at the DOS"
  155.     &5,9,0,"prompt without changing directories."
  156.     &30,11,1,"Type 'Y' for Yes or 'N' for No"
  157. }
  158. #INPUT $8
  159.     10,5,60,11,"BOOT DRIVE"
  160.     &5,2,0,"Please indicate your computer's boot drive. Its"
  161.     &5,3,0,"root directory should contain the AUTOEXEC.BAT"
  162.     &5,4,0,"file."
  163.     &5,6,0,"Push the <Enter> key for C:, or type the letter"
  164.     &5,7,0,"of your boot drive."
  165.     30,9,1,"C"
  166. }
  167.  
  168. #IF #2
  169. #CONFIRM 1,#1
  170.     8,5,64,12,"CONFIRMATION"
  171.     &5,2,0,"You have selected the following settings. Are they"
  172.     &5,3,0,"correct?"
  173.     &5,5,0,"Boot drive : %s:",$8
  174.     &5,6,0,"Port :       COM%s(%s), %s00 baud, %s redirected",$6,$2,$4,$5
  175.     &5,7,0,"Directory :  %s",$7
  176.     &5,8,0,"Path :       %s",$10
  177.     &30,10,1,"Type 'Y' for Yes or 'N' for No"
  178. }
  179. #ELSE
  180. #CONFIRM 1,#1
  181.     10,5,60,12,"CONFIRMATION"
  182.     &5,2,0,"You have selected the following settings. Are they"
  183.     &5,3,0,"correct?"
  184.     &5,5,0,"Boot drive : %s:",$8
  185.     &5,6,0,"Port :       LPT%s",$6
  186.     &5,7,0,"Directory :  %s",$7
  187.     &5,8,0,"Path :       %s",$10
  188.     &30,10,1,"Type 'Y' for Yes or 'N' for No"
  189. }
  190. #ENDIF
  191.  
  192. #IF #1
  193. #GOTO LABEL1
  194. #ENDIF
  195.  
  196. #SELECT #9,$9
  197.     10,4,60,18,"UPDATE AUTOEXEC.BAT"
  198.     &5,2,0,"Changing the AUTOEXEC.BAT file is necessary to use "
  199.     &5,3,0,"these utilities. Change it?"
  200.     &5,5,0,"If you select 'Modify', AUTOEXEC.BAT will be"
  201.     &5,6,0,"modified and your current file will be saved under"
  202.     &5,7,0,"a different name. If you select 'Sample', sample "
  203.     &5,8,0,"files are created. if you select 'Bypass', no files"
  204.     &5,9,0,"are changed, but the utilities are still installed."
  205.     &5,11,0,"Select the option with the arrow keys, then push"
  206.     &5,12,0,"the <Enter> key."
  207.     20,14,20,3,""
  208.     3
  209.     "Modify","0"
  210.     "Sample","1"
  211.     "Bypass","2"
  212. }
  213. #COPY 
  214.     10,8,60,6,"COPY"
  215.     $11,$7
  216.     &4,2,0,"Copying files from %s to %s",$11,$7
  217.     "README.TXT"
  218.     "EPRCPO.EXE"
  219.     "EPSUB0.EXE"
  220.     "EPSUB1.EXE"
  221.     "EPSUB2.EXE"
  222.     "EPSUB3.EXE"
  223.     "EPSUB4.EXE"
  224.     "EPSUB5.EXE"
  225.     "MSGDATA.DAT"
  226.     "EPRCPL.HLP"
  227.     "EPRCPL.CFG"
  228.     "HELVB.FON"
  229.     "EPRCPL.EPR"
  230. }
  231. #COPY 
  232.     10,8,60,6,"COPY"
  233.     $11,$8
  234.     &4,2,0,"Copying files from %s to %s ",$11,$8
  235.     "HSERIAL.EXE"
  236. }
  237.  
  238. #IF== #9,2
  239. #GOTO LABEL3            ; autoexec.bat bypass
  240. #ENDIF
  241.  
  242. #IF== #2,0
  243. #GOTO LABEL4            ; parallel
  244. #ENDIF
  245.  
  246. #IF!= #5,3
  247. #GOTO LABEL7            ; re-direct no setting
  248. #ENDIF
  249. #IF!= #10,1
  250. #FILE #9,$8                ; add hserial, update path
  251.     12,7,56,8,"UPDATE AUTOEXEC.BAT"
  252.     &28,4,1,"Updating..."
  253.     "AUTOEXEC.BAT"
  254.     3,"SET PATH","%s",$7
  255.     1,"HSERIAL","/P=%s /B=%s",$6,$4
  256. }
  257. #ELSE
  258. #FILE #9,$8                ; hserial
  259.     12,7,56,8,"UPDATE AUTOEXEC.BAT"
  260.     &28,4,1,"Updating..."
  261.     "AUTOEXEC.BAT"
  262.     1,"HSERIAL","/P=%s /B=%s",$6,$4
  263. }
  264. #ENDIF
  265. #GOTO LABEL3
  266.  
  267. #LABEL LABEL4            ; autoexec.bat for parallel
  268. #IF!= #10,1
  269. #FILE #9,$8
  270.     12,7,56,8,"UPDATE AUTOEXEC.BAT"
  271.     &28,4,1,"Updating..."
  272.     "AUTOEXEC.BAT"
  273.     3,"SET PATH","%s",$7
  274. }
  275. #ENDIF
  276. #GOTO LABEL3
  277.  
  278. #LABEL LABEL7
  279. #IF!= #10,1
  280. #FILE #9,$8                ; add hserial and mode, update path
  281.     12,7,56,8,"UPDATE AUTOEXEC.BAT"
  282.     &28,4,1,"Updating..."
  283.     "AUTOEXEC.BAT"
  284.     3,"SET PATH","%s",$7
  285.     1,"HSERIAL","/P=%s /B=%s",$6,$4
  286.     1,"MODE","%s=COM%s",$5,$6
  287. }
  288. #ELSE
  289. #FILE #9,$8                ; add hserial nad mode
  290.     12,7,56,8,"UPDATE AUTOEXEC.BAT"
  291.     &28,4,1,"Updating..."
  292.     "AUTOEXEC.BAT"
  293.     1,"HSERIAL","/P=%s /B=%s",$6,$4
  294.     1,"MODE","%s=COM%s",$5,$6
  295. }
  296. #ENDIF
  297.  
  298. #LABEL LABEL3
  299. #IF #2 
  300. #FILE 4,$7
  301.     12,7,56,8,"CREATE EPRCPL.CFG"
  302.     &28,4,1,"Creating..."
  303.     "EPRCPL.CFG","EPRCPL.BAK"
  304.     1,"PATH =","'%s'",$7
  305.     1,"INTERFACE =","'%s'",$2
  306.     1,"PORT =","'COM%s'",$6
  307.     1,"BAUD =","'%s00'",$4
  308. }
  309. #ELSE
  310. #FILE 4,$7
  311.     12,7,56,8,"CREATE EPRCPL.CFG"
  312.     &28,4,1,"Creating..."
  313.     "EPRCPL.CFG","EPRCPL.BAK"
  314.     1,"PATH =","'%s'",$7
  315.     1,"INTERFACE =","'%s'",$2
  316.     1,"PORT =","'LPT%s'",$6
  317.     1,"BAUD =","'%s'",$4
  318. }
  319. #ENDIF
  320.  
  321. #CONFIRM 0,#1
  322.     10,5,60,12,"TERMINATION"
  323.     &5,4,0,"The utilities have been installed. We suggest that"
  324.     &5,5,0,"you see the README.TXT file for additional"
  325.     &5,6,0,"information before using the utilities."
  326.     &7,10,0,"Push the <Enter> key to finish installation."
  327. }
  328.  
  329. #LABEL LABEL99
  330.