home *** CD-ROM | disk | FTP | other *** search
/ Windoware / WINDOWARE_1_6.iso / misctext / ami20tn / ap000131.txt < prev    next >
Text File  |  1992-01-02  |  3KB  |  60 lines

  1. TITLE:   "System Error Divide By Zero Error" Results During Printing
  2. PRODUCT: Ami Pro 2.0
  3. DATE:    12-Nov-1991
  4.  
  5. PROBLEM: 
  6.  
  7. The message "System Error Divide By Zero Error" appears shortly after issuing 
  8. a File / Print command in Ami Pro.
  9.  
  10. SOLUTION: 
  11.  
  12. The above error may be caused by having a space after the TEMP variable 
  13. directory name.  For example, the AUTOEXEC.BAT may have a line such as SET 
  14. TEMP=C:\TEMP  (there is a space after the P in TEMP).
  15.  
  16. When there is a space after the TEMP variable name, some Windows applications 
  17. (such as Notepad, for example) may not be able to print because the menu 
  18. option for Print is grayed out (unavailable).  Other applications may not load 
  19. at all.  The File / Print option in Ami Pro will be black (available), 
  20. however, printing a document may result in either a "Cannot Print" message or 
  21. a "System Error Divide By Zero Error" message.
  22.  
  23. If there is a space after the TEMP directory name, the above problems will 
  24. probably be resolved by removing the space.
  25.  
  26. HOW TO CORRECT THE TEMP VARIABLE LINE
  27.  
  28.   1. Determine where the TEMP variable is being set.  This is normally done 
  29.      via the AUTOEXEC.BAT file, but it can be done in a batch file (for 
  30.      example, a batch file that loads Windows may issue a SET TEMP before the 
  31.      command to load Windows).  These instructions assume that TEMP is being 
  32.      set in AUTOEXEC.BAT.  If TEMP is being set in another file, modify the 
  33.      other file.
  34.   2. At the Windows Program Manager choose File / Run.
  35.   3. For the Command Line option type SYSEDIT.EXE and choose OK.  NOTE: If a 
  36.      "Cannot Find File..." message appears, type the full path to the location 
  37.      of the file SYSEDIT.EXE.  If such a message appears, SYSEDIT.EXE has 
  38.      probably been moved from the default location of the SYSTEM directory 
  39.      beneath the Windows program directory.
  40.   4. In the System Configuration Editor (SYSEDIT) choose Window and select the 
  41.      line referring to AUTOEXEC.BAT to make AUTOEXEC.BAT the active window.
  42.   5. Place the insertion point at the beginning of the line that starts with 
  43.      SET TEMP=.
  44.   6. Press END to move the insertion point to the end of the line.
  45.   7. If the insertion point moves 1 position beyond the last text character on 
  46.      the line (a space exists after last character), touch BACKSPACE to remove 
  47.      the space.
  48.   8. Choose File / Save to save the change.
  49.   9. Press ALT + F4 to close the editor.
  50.  10. Exit Windows completely to the DOS prompt.
  51.  11. Reboot the computer so that the change made to AUTOEXEC.BAT file will be 
  52.      implemented.
  53.  12. Load Windows and Ami Pro.
  54.  13. Repeat the File / Print command.
  55.  
  56. If the the Divide By Zero or Cannot Print messages are not resolved by 
  57. following the above steps or if there is not an extra space after the TEMP 
  58. variable directory name, call the Lotus Development Corporation Word 
  59. Processing Division Technical Support Department at 404-256-2272.