home *** CD-ROM | disk | FTP | other *** search
- ;
- ; SETUP.INF Sample File
- ;
- #DEFAULT ;procedure default
- "EPSON Remote Control Panel Installer" ;caption
- "Version 4.10" ;version
- 7 ;display col
- 1 ;caption
- 7 ;caption text
- 1 ;window bk col
- 7 ;window text
- 5 ;error window bk col
- 7 ;error window text col
- 1 ;list box bk col
- 0 ;list box cursor col
- 20
- 20
- }
- #CONFIRM 1,#1
- 10,5,60,12,"EPSON Remote Control Panel Installer"
- &7,2,0,"This program installs the Remote Control Panel"
- &7,3,0,"Utility and configures your PC for your"
- &7,4,0,"printer."
- &7,6,0,"Push the <Enter> key to continue. Otherwise"
- &7,7,0,"push the <F4> key to exit."
- &10,10,0,"Copyright (C) SEIKO EPSON Corporation 1996"
- &10,11,0,"All rights reserved."
- }
- #IF #1
- #GOTO LABEL99
- #ENDIF
-
- #LABEL LABEL1
- #SELECT #2,$2 ; select port
- 10,5,60,12,"PORT SELECTION"
- &5,2,0,"Please choose the type of port your printer is"
- &5,3,0,"connected to."
- &5,5,0,"Select the port with the arrow keys,"
- &5,6,0,"then push the <Enter> key."
- 20,9,20,2,""
- 2
- "Parallel Port (LPT)","Parallel"
- "Serial Port (COM)","Serial"
- }
-
- #IF #2
- #SELECT #3,$6 ; select serial port
- 10,5,60,11,"SERIAL PORT"
- &5,2,0,"To which Serial port is your printer connected?"
- &5,4,0,"Select the port with the arrow keys, then push"
- &5,5,0,"the <Enter> key."
- 25,8,10,2,""
- 2
- " COM1:","1"
- " COM2:","2"
- }
- #ELSE
- #SELECT #6,$6 ; select parallel port
- 10,5,60,12,"PARARELL PORT"
- &5,2,0,"To which Parallel port is your printer connected?"
- &5,4,0,"Select the port with the arrow keys, then push"
- &5,5,0,"the <Enter> key."
- 25,8,10,3,""
- 3
- " LPT1:","1"
- " LPT2:","2"
- " LPT3:","3"
- }
- #GOTO LABEL2
- #ENDIF
-
- #SELECT #4,$4 ; select baud rate
- 10,4,60,18,"BAUD RATE"
- &5,2,0,"Which baud rate do your want to use for your"
- &5,3,0,"printer?"
- &5,5,0,"Due to some hardware limitations, some PCs may"
- &5,6,0,"not support high speed settings above 9600 baud."
- &5,8,0,"Select the baud rate with the arrow keys, then push"
- &5,9,0,"the <Enter> key."
- 25,12,10,5,""
- 9
- "300","3"
- "600","6"
- "1200","12"
- "2400","24"
- "4800","48"
- "9600","96"
- "19200","192"
- "38400","384"
- "57600","576"
- }
-
- #IF!= #4,3
- #CONFIRM 1,#1
- 10,5,60,16,"REQUIREMENT"
- &5,2,0,"The default baud setting on the printer is 9600."
- &5,3,0,"Use the printer's control panel to change the"
- &5,4,0,"baud rate on the printer from 9600 to the"
- &5,5,0,"following value."
- &27,7,0,"%s00",$4
- &5,9,0,"For other settings, the following default settings"
- &5,10,0,"are used."
- &10,11,0,"WORD LENGTH:8 PARITY:NONE STOP BIT:1"
- &10,12,0,"DTR:ON DSR:OFF"
- &15,14,0,"Push <Enter> key to continue."
- }
- #ENDIF
- #SELECT #5,$5 ; select re-direct port
- 10,5,60,17,"RE-DIRECT PORT"
- &3,2,0,"Which port do you want to use for the logical port ?"
- &3,4,0,"Some software applications request a logical port (LPT),"
- &3,5,0,"so you should assign one to the serial port. Usually it"
- &3,6,0,"is LPT1:, unless you are using another printer or"
- &3,7,0,"parallel device connected to that prot."
- &3,9,0,"Select the port with the arrow keys, then push the"
- &3,10,0,"<Enter> key."
- 25,12,12,4,""
- 4
- " LPT1:","LPT1"
- " LPT2:","LPT2"
- " LPT3:","LPT3"
- " No setting","Not"
- }
-
- #LABEL LABEL2
- #INPUT $11
- 10,5,60,13,"SOURCE DIRECTORY"
- &5,2,0,"Please confirm the source directory that"
- &5,3,0,"includes the utilities. Usually the following is"
- &5,4,0,"the source directory:"
- &30,6,1,"A:\"
- &5,8,0,"If correct, push the <Enter> key. Otherwise"
- &5,8,0,"push the <Backspace> key and type a different"
- &5,9,0,"directory name."
- 10,11,40,"A:\"
- }
- #INPUT $7
- 10,5,60,15,"DIRECTORY"
- &5,2,0,"Please choose the directory to use for the"
- &5,3,0,"Remote Control Panel."
- &5,5,0,"Push the <Enter> key to select the default"
- &5,6,0,"directory listed below."
- &30,8,1,"C:\EPSONRCP\"
- &5,10,0,"Otherwise push the <Backspace> key and type a"
- &5,11,0,"different directory name."
- 10,13,40,"C:\EPSONRCP\"
- }
- #CONFIRM 1,#10
- 10,5,60,13,"PATH"
- &5,2,0,"Do you want to include this directory in the path"
- &5,3,0,"statement in the AUTOEXEC.BAT file?"
- &30,5,1,"%s",$7
- &5,7,0,"If you include this directory in the path, you"
- &5,8,0,"can start this Remote Control Panel at the DOS"
- &5,9,0,"prompt without changing directories."
- &30,11,1,"Type 'Y' for Yes or 'N' for No"
- }
- #INPUT $8
- 10,5,60,11,"BOOT DRIVE"
- &5,2,0,"Please indicate your computer's boot drive. Its"
- &5,3,0,"root directory should contain the AUTOEXEC.BAT"
- &5,4,0,"file."
- &5,6,0,"Push the <Enter> key for C:, or type the letter"
- &5,7,0,"of your boot drive."
- 30,9,1,"C"
- }
-
- #IF #2
- #CONFIRM 1,#1
- 8,5,64,12,"CONFIRMATION"
- &5,2,0,"You have selected the following settings. Are they"
- &5,3,0,"correct?"
- &5,5,0,"Boot drive : %s:",$8
- &5,6,0,"Port : COM%s(%s), %s00 baud, %s redirected",$6,$2,$4,$5
- &5,7,0,"Directory : %s",$7
- &5,8,0,"Path : %s",$10
- &30,10,1,"Type 'Y' for Yes or 'N' for No"
- }
- #ELSE
- #CONFIRM 1,#1
- 10,5,60,12,"CONFIRMATION"
- &5,2,0,"You have selected the following settings. Are they"
- &5,3,0,"correct?"
- &5,5,0,"Boot drive : %s:",$8
- &5,6,0,"Port : LPT%s",$6
- &5,7,0,"Directory : %s",$7
- &5,8,0,"Path : %s",$10
- &30,10,1,"Type 'Y' for Yes or 'N' for No"
- }
- #ENDIF
-
- #IF #1
- #GOTO LABEL1
- #ENDIF
-
- #SELECT #9,$9
- 10,4,60,18,"UPDATE AUTOEXEC.BAT"
- &5,2,0,"Changing the AUTOEXEC.BAT file is necessary to use "
- &5,3,0,"these utilities. Change it?"
- &5,5,0,"If you select 'Modify', AUTOEXEC.BAT will be"
- &5,6,0,"modified and your current file will be saved under"
- &5,7,0,"a different name. If you select 'Sample', sample "
- &5,8,0,"files are created. if you select 'Bypass', no files"
- &5,9,0,"are changed, but the utilities are still installed."
- &5,11,0,"Select the option with the arrow keys, then push"
- &5,12,0,"the <Enter> key."
- 20,14,20,3,""
- 3
- "Modify","0"
- "Sample","1"
- "Bypass","2"
- }
- #COPY
- 10,8,60,6,"COPY"
- $11,$7
- &4,2,0,"Copying files from %s to %s",$11,$7
- "README.TXT"
- "EPRCPO.EXE"
- "EPSUB0.EXE"
- "EPSUB1.EXE"
- "EPSUB2.EXE"
- "EPSUB3.EXE"
- "EPSUB4.EXE"
- "EPSUB5.EXE"
- "MSGDATA.DAT"
- "EPRCPL.HLP"
- "EPRCPL.CFG"
- "HELVB.FON"
- "EPRCPL.EPR"
- }
- #COPY
- 10,8,60,6,"COPY"
- $11,$8
- &4,2,0,"Copying files from %s to %s ",$11,$8
- "HSERIAL.EXE"
- }
-
- #IF== #9,2
- #GOTO LABEL3 ; autoexec.bat bypass
- #ENDIF
-
- #IF== #2,0
- #GOTO LABEL4 ; parallel
- #ENDIF
-
- #IF!= #5,3
- #GOTO LABEL7 ; re-direct no setting
- #ENDIF
- #IF!= #10,1
- #FILE #9,$8 ; add hserial, update path
- 12,7,56,8,"UPDATE AUTOEXEC.BAT"
- &28,4,1,"Updating..."
- "AUTOEXEC.BAT"
- 3,"SET PATH","%s",$7
- 1,"HSERIAL","/P=%s /B=%s",$6,$4
- }
- #ELSE
- #FILE #9,$8 ; hserial
- 12,7,56,8,"UPDATE AUTOEXEC.BAT"
- &28,4,1,"Updating..."
- "AUTOEXEC.BAT"
- 1,"HSERIAL","/P=%s /B=%s",$6,$4
- }
- #ENDIF
- #GOTO LABEL3
-
- #LABEL LABEL4 ; autoexec.bat for parallel
- #IF!= #10,1
- #FILE #9,$8
- 12,7,56,8,"UPDATE AUTOEXEC.BAT"
- &28,4,1,"Updating..."
- "AUTOEXEC.BAT"
- 3,"SET PATH","%s",$7
- }
- #ENDIF
- #GOTO LABEL3
-
- #LABEL LABEL7
- #IF!= #10,1
- #FILE #9,$8 ; add hserial and mode, update path
- 12,7,56,8,"UPDATE AUTOEXEC.BAT"
- &28,4,1,"Updating..."
- "AUTOEXEC.BAT"
- 3,"SET PATH","%s",$7
- 1,"HSERIAL","/P=%s /B=%s",$6,$4
- 1,"MODE","%s=COM%s",$5,$6
- }
- #ELSE
- #FILE #9,$8 ; add hserial nad mode
- 12,7,56,8,"UPDATE AUTOEXEC.BAT"
- &28,4,1,"Updating..."
- "AUTOEXEC.BAT"
- 1,"HSERIAL","/P=%s /B=%s",$6,$4
- 1,"MODE","%s=COM%s",$5,$6
- }
- #ENDIF
-
- #LABEL LABEL3
- #IF #2
- #FILE 4,$7
- 12,7,56,8,"CREATE EPRCPL.CFG"
- &28,4,1,"Creating..."
- "EPRCPL.CFG","EPRCPL.BAK"
- 1,"PATH =","'%s'",$7
- 1,"INTERFACE =","'%s'",$2
- 1,"PORT =","'COM%s'",$6
- 1,"BAUD =","'%s00'",$4
- }
- #ELSE
- #FILE 4,$7
- 12,7,56,8,"CREATE EPRCPL.CFG"
- &28,4,1,"Creating..."
- "EPRCPL.CFG","EPRCPL.BAK"
- 1,"PATH =","'%s'",$7
- 1,"INTERFACE =","'%s'",$2
- 1,"PORT =","'LPT%s'",$6
- 1,"BAUD =","'%s'",$4
- }
- #ENDIF
-
- #CONFIRM 0,#1
- 10,5,60,12,"TERMINATION"
- &5,4,0,"The utilities have been installed. We suggest that"
- &5,5,0,"you see the README.TXT file for additional"
- &5,6,0,"information before using the utilities."
- &7,10,0,"Push the <Enter> key to finish installation."
- }
-
- #LABEL LABEL99