home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 109 / EnigmaAmiga109CD.iso / software / manutenzione / olivettijp790 / install_driver next >
Text File  |  1999-12-31  |  936b  |  36 lines

  1. . $VER: Install_Printer_Driver 1.0 (27/6/99)
  2. . Peter Hutchison
  3.  
  4. . WB 2.x
  5. If Not Exists c:RequestChoice
  6.    Copy Olivetti_JP.#? Devs:Printers
  7.    Sys:Prefs/Printer
  8.    Sys:Prefs/PrinterGfx
  9.    Quit
  10. Endif
  11. . WB 3.x
  12. RequestChoice >env:cpu "Select Processor version" "Which version of driver do you require?" "68000|68020|Cancel"
  13. If $CPU EQ "0"
  14.    Quit
  15. endif
  16. If $CPU EQ "1"
  17.   Copy Olivetti_JP790.000 to t:Driver
  18. Endif
  19. IF $Cpu EQ "2"
  20.   Copy Olivetti_JP790.020 to t:Driver
  21. Endif
  22. Copy t:Driver to t:Olivetti_JP790 Quiet
  23. RequestFile >env:Driver Drawer t: Pattern "Oliv#?" Title "Select Driver" Noicons
  24. Copy $Driver Devs:Printers quiet
  25. Delete t:Driver t:Oliv#? quiet
  26. RequestChoice >env:NewPref "Printer Prefs" "Do you wish to change Printer Prefs?" "Yes|No"
  27. If $NewPref EQ "1"
  28.   sys:prefs/printer
  29. Endif
  30. RequestChoice >env:NewPref "PrinterGfx Prefs" "Do you wish to change PrinterGfx Prefs?" "Yes|No"
  31. If $NewPref EQ "1"
  32.   sys:prefs/printergfx
  33. Endif
  34.  
  35.  
  36.