
copyright1="-----------------------------------------------"
copyright2="|  install.sh    version 1.04                 |"
copyright3="|  Copyright(c) 1995.  All Rights Reserved.   |"
copyright4="-----------------------------------------------"
 

a10="This shell program is designed to add printers for $OEM_mark to"
a11="your UNIX system." 
a12=" "
 

a20="Which one of the following $OEM_mark types to be installed:"
a21="   1. $OEM_mark      -- 3 printer ports"
a22="   2. ${OEM_mark}-Jr   -- 1 printer port"
a23="   3. ${OEM_mark}-MIO. -- 2 printer ports"
 
L20="Which one of the following $OEM_mark types to be installed:"
L21="   1. ${OEM_mark}-2+1        -- 3 printer ports"
L22="   2. ${OEM_mark}-1P or Jr   -- 1 printer port"
L23="   3. ${OEM_mark}-3+1        -- 4 printer ports"

a30="The program will ask you the following questions:"
a31="1. The type of UNIX system."
a32="2. Printer Name. (e.g. NetPrinter)"
a33="3. Host name of the $OEM_mark device (e.g. PrtHost)"
a34="4. Strings to be sent before and/or after a print job if desired."
a35="5. Files to be sent before and/or after a print job if desired."
a36="6. How many minutes are allowed for occurrence of printer faults before"
a37="   the active print job is aborted ?  (the default value is infinite minutes.)"
a38="   NOTE: 0 means that the print request will abort upon printer faults."
a39="        -1 (or negative number) means that infinite delay is allowed."
a40="7. Whether or not LF to be converted to CR + LF."
a41=" "
a42=" " 

a50="8. Which port of the $OEM_mark is the printer connected to?"
a51="   NOTE: This question will be posted for multi-port $OEM_mark only."
  
  
a60="8. Which port of the $OEM_mark is the printer connected to?"
a61="   1.) MIO port 1.  2.) Serial port"
  
  
a70="9. Whether or not the print job to be routed to another printer"
a71="   connected to the $OEM_mark while the selected printer is not ready."
a72="   NOTE: These printers must be of the same class."
press_to_cont="                 [ press RETURN to continue ]"
  
  
a80="This program will add the printer to the UNIX system automatically.  "
a81="The printer can be used after the install.sh program has finished if"
a82="the printer have been connected to the $OEM_mark correctly "
a83="and set its IP address already."
  

type_quit="Type quit to exit install.sh"
  

a90=" Choose the type of your UNIX system: "
a91="1.SCO UNIX 3.x"
a92="2.Hewlett Packard HP-UX 9.x and higher "
a93="3.SunOS 4.x "
a94="4.SunOS 5.x "
a95="5.AT&T UNIX_SV release 4 "
a96="6.DEC 3000 OSF1 version 1.3 and higher"
a97="7.UNIXWare version 2.01 and higher"
a98="8.SCO UNIX Open Server 5.x"
a99="9.Others"
  

b10="Enter the full path of the directory containing "
  
  
b20="Which port of the $OEM_mark is the printer connected to?"
b21="1. Parallel port 1"
b22="2. Parallel port 2"
b23="3. Serial port "
b24="(Default is parallel port 1.)"
  
  
b30="Which port of the $OEM_mark is the printer to be connected to?"
b31="1. MIO port "
b32="2. Serial port "
b33="(Default is MIO port.)"
  
b34="Which port of the $OEM_mark is the printer connected to?"
b35="1. Parallel port 1"
b36="2. Parallel port 2"
b37="3. Parallel port 3"
b38="4. Serial port "
b39="(Default is parallel port 1.)"
  
  
b40="Do you want the print job to be automatically routed to another printer"
b41="connected to the $OEM_mark while the selected printer is not ready? "
  
  
b50="Select one of the following port for auto routing:"
b51="1. Parallel port 1"
b52="2. Parallel port 2"
b53="3. Serial port"
b54="4. The other two ports"
  
b61="Enter the combination of the following ports for auto routing:"
b62="There must be a space between 2 port numbers."
b63="(e.g. 1 2 3;  2 3 s;   1 3;  2 s;  1;  2;  s;... etc.)"
b64="  1. Parallel port 1"
b65="  2. Parallel port 2"
b66="  3. Parallel port 3"
b67="  s. Serial port"
b68="Enter the combination of the print ports for auto routing:"

b60="Are strings to be sent before and/or after the print job?"
  
b70="Enter the prefix string to be sent before print job."
  
b80="Enter the suffix string to be sent after print job."
  
b90="Are files to be sent before and/or after the print job? "
  
b91="Enter the full path of the head file to be sent before print job."
  
b92="Enter the full path of the tail file to be sent after print job."
  
c10="Is the number of delay minutes allowed for printer faults to be changed?"
c101="(Default is infinite (-1) ) "
  
  
c11="Enter the delay minutes allowed for printer faults."
c12="(NOTE: 0 means no delay allowed, -1 means infinite delay allowed.)"
  
  
c20="Is LineFeed to be converted to CarriageReturn+LineFeed in a text file?"
  
c21="Do you want to use the provided printer interface program (dumb_int.sh)? "
  
  
c30="Enter the directory path containing the dumb_int.sh program."
  
quit_inst="install.sh aborted!"
       
enter_again="Enter again=>" 

Sis="Is"  
Scorrect="correct" 
                
Sfailed="failed"    

nonsupport_ux="Non_supported UNIX system:" 

c40="Please read the readme.doc file for further information about "
c41="manual installation."          

Sprt="printer"
exist_already="already exists!"

Shost="host" 
c50="isn't in /etc/hosts!"

c60="printer port must be 1, 2 or 3."
c61="printer port must be 1, 2, 3 or s."

dont_exist="does not exist."

isnt_exec="is not executable!"

c70="The FILTER Command used in the printer interface program is "
  
c80="only root has the privilege to run install.sh."
c81="                   Login as root and try again!"

c90="im=interface_model must be a file name."

c91="d=delay_min must be an integer."

c92="Port number must be 1, 2 or 3."

c93="Port number must be 1, 2, 3 or s."

Sprocessing="Processing..."
  
d10="the file /etc/hosts does not exist!"
     
d20="cannot create working directory"

choose_num="Choose a number"  
        
bad_choice="Bad choice!"
        
wrong_ux="Wrong type of UNIX system!"
     
enter_prt="Enter the printer name" 
            
enter_prt_agn="Enter the printer name again" 
            
enter_ps="Enter the host name of the $OEM_mark device" 
            
d30="The $OEM_mark" 
d31="is not in file /etc/hosts."
            
prg_non_exec="program is not executable."
                
isnt_in="is not in"
              
sw_dir="Software Directory"
            
d40="Bad Choice: choose any ports other than the selected one."
                    
d50="Is prefix string to be sent before print job?"

dont_quotes="(Do not use quotes)"
                
d60="Is suffix string sent after print job?"

d70="Is head file sent before print job?" 

yes_no="(Yes/No) =>"
            
no_file="No such file"
            
isnt_read="is not readable."
              
d80="Is tail file sent after print job?"
             
                 
d90="delay_minutes must be an integer."
                 
e10="the dumb_int.sh program is not executable."
                
e20="the dumb_int.sh program is not in" 
              
e30="Choose a printer interface model:"
           
e40="Enter the model of the printer interface program" 
               
e50="Do you want to use a specific print filter for the printer?"

e60="Choose a print filter:"
           
e70="Enter the FULL name of the printer filter" 
               
e79="The printer is connected to Parallel port 3."
e80="Printer Name:"     
e81="Host Name:"
e82="program:"
e83="Interface program:"
e84="The printer is connected to Parallel port 1."
e85="The printer is connected to MIO port."
e86="The printer is connected to Serial port."
e87="The printer is connected to Parallel port 2."
e88="The port for auto routing:" 
e89="Prefix string to be sent before print job is:"
e90="Suffix string to be sent after print job is:"
e91="Head file to be sent before print job is:"
e92="Tail file to be sent after print job is:"
e93="Delay minutes allowed for printer faults is:"
e94="Line Feed will be converted to Carriage Return and Line Feed."
e95="The print filter:"
     
e96="Double Check: Is the information above correct?"

f11="Modifying the interface program."
         
f20="cannot find 'PMFILTER_CMD=' in"
f21="                Please check the interface program."
     
f30="Shutting down the print services."
   
#"Adding printer $printer_name to the system."
f40="Adding printer"
f41="to the system."
      
f50="Restarting the print services."
   
f60="Saving information of installation to /tmp/LPInstall.log."
     
f70="WARNING: The interface program cannot be modified!"
#"Please modify $interface_arg according to the suggestions in User's Guide."
f71="Please modify"
f72="according to the suggestions in User's Guide."
     
end_inst="     [ End of Installation. ]"
     
# "The printer $printer_name can be used immediately!"
f80="The printer"
f81="is now ready for use."
     
spool_dir="Spool directory"
     
created="has been created!"
       
f90="Cannot create spool directory"
f91="                   Please check it and rerun install.sh."
     
# "The $program_mark options used in $PMOPTS is"
Sthe="The"
Sis="is"
g10="options used in"
     
Screate="Create"

g20="entry in /etc/printcap is:"
     
g30="Contents of"
       
g40="Appending printer entry to /etc/printcap."
g41="Starting the printer"
     
g50="Saving information of installation to /tmp/LPInstall.log."
     
g60="The old printcap file has been moved to"
#"The printer $printer_name can be used immediately"
g61="The printer"
g62="is now ready for use."

choose_prt_port="Choose a printer port"

choose_autosend_port="Choose a printer port for auto routing"

dir_pmc_errh="Enter the directory containing $program_source and errormsg.h."
mycc_fail="mycc failed!"
errh_pmc_not_in="errormsg.h or $program_source is not in"
     
