home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Sound / Misc / MUSICX24.DMS / in.adf / Install_Printer < prev    next >
Encoding:
Text File  |  1994-04-06  |  6.1 KB  |  293 lines

  1. ; $VER: Notator-X Install Printer Script (19th July 1993)
  2.  
  3. (user 2)
  4.  
  5. (message "\nThis program will copy the specified printer driver(s) to "
  6.          "the selected disk/drive. This will then allow Notator-X to print. "
  7.          "You should either specify the Music-X or Notator-X program disk "
  8.          "depending on the disk you intend to boot with (Repeat on both if "
  9.          "desired). \n\n"
  10.          "NOTE: If you are using the program(s) from a hard drive, "
  11.          "your boot partition should already contain the printer "
  12.          "drivers from when you installed the workbench. "
  13.          "If so select \"Abort\""
  14. )
  15.  
  16. (set defdrive "SYS:")
  17.  
  18. (set defdrive
  19.  (askdir
  20.   (prompt "Please indicate the system disk")
  21.   (help @askdir-help)
  22.   (default "SYS:")
  23.  )
  24. )
  25.  
  26.  
  27. (set printersa
  28.  (askoptions
  29.   (prompt "Select the desired printer driver(s)\nIf the desired driver is not present, Select \"Proceed\" to display the next list")
  30.   (help @askoptions-help)
  31.   (choices
  32.    "Alphacom_Alphapro_101"
  33.    "Brother_HR-15XL"
  34.    "CalComp_ColorMaster"
  35.    "CalComp_ColorMaster2"
  36.    "Canon_PJ-1080A"
  37.    "CBM_MPS1000"
  38.    "Diablo_630"
  39.    "Diablo_Advantage_D25"
  40.    "Diablo_C-150"
  41.    "EpsonQ"
  42.    "EpsonXOld"
  43.    "EpsonX[CBM_MPS-1250]"
  44.    "Howtek_Pixelmaster"
  45.   )
  46.   (default 2560)
  47.  )
  48.  
  49. (set printersb
  50.  (askoptions
  51.   (prompt "Select the desired printer driver(s)\n")
  52.   (help @askoptions-help)
  53.   (choices
  54.    "HP_DeskJet"
  55.    "HP_LaserJet"
  56.    "HP_PaintJet"
  57.    "HP_ThinkJet"
  58.    "ImagewriterII"
  59.    "Nec_Pinwriter"
  60.    "Okidata_293I"
  61.    "Okidata_92"
  62.    "Okimate_20"
  63.    "Quadram_QuadJet"
  64.    "Qume_LetterPro_20"
  65.    "Toshiba_P351C"
  66.    "Toshiba_P351SX"
  67.    "Xerox_4020"
  68.   )
  69.   (default 2)
  70.  )
  71. )
  72.  
  73. (if (bitand printersa 1)
  74.  (copyfiles
  75.   (source (tackon "NX_Utilities:" "devs/printers"))
  76.   (dest (tackon defdrive "devs/printers"))
  77.   (choices "Alphacom_Alphapro_101")
  78.  )
  79. )
  80.  
  81. (if (bitand printersa 2)
  82.  (copyfiles
  83.   (source (tackon "NX_Utilities:" "devs/printers"))
  84.   (dest (tackon defdrive "devs/printers"))
  85.   (choices "Brother_HR-15XL")
  86.  )
  87. )
  88.  
  89. (if (bitand printersa 4)
  90.  (copyfiles
  91.   (source (tackon "NX_Utilities:" "devs/printers"))
  92.   (dest (tackon defdrive "devs/printers"))
  93.   (choices "CalComp_ColorMaster")
  94.  )
  95. )
  96.  
  97. (if (bitand printersa 8)
  98.  (copyfiles
  99.   (source (tackon "NX_Utilities:" "devs/printers"))
  100.   (dest (tackon defdrive "devs/printers"))
  101.   (choices "CalComp_ColorMaster2")
  102.  )
  103. )
  104.  
  105. (if (bitand printersa 16)
  106.  (copyfiles
  107.   (source (tackon "NX_Utilities:" "devs/printers"))
  108.   (dest (tackon defdrive "devs/printers"))
  109.   (choices "Canon_PJ-1080A")
  110.  )
  111. )
  112.  
  113. (if (bitand printersa 32)
  114.  (copyfiles
  115.   (source (tackon "NX_Utilities:" "devs/printers"))
  116.   (dest (tackon defdrive "devs/printers"))
  117.   (choices "CBM_MPS1000")
  118.  )
  119. )
  120.  
  121. (if (bitand printersa 64)
  122.  (copyfiles
  123.   (source (tackon "NX_Utilities:" "devs/printers"))
  124.   (dest (tackon defdrive "devs/printers"))
  125.   (choices "Diablo_630")
  126.  )
  127. )
  128.  
  129. (if (bitand printersa 128)
  130.  (copyfiles
  131.   (source (tackon "NX_Utilities:" "devs/printers"))
  132.   (dest (tackon defdrive "devs/printers"))
  133.   (choices "Diablo_Advantage_D25")
  134.  )
  135. )
  136.  
  137. (if (bitand printersa 256)
  138.  (copyfiles
  139.   (source (tackon "NX_Utilities:" "devs/printers"))
  140.   (dest (tackon defdrive "devs/printers"))
  141.   (choices "Diablo_C-150")
  142.  )
  143. )
  144.  
  145. (if (bitand printersa 512)
  146.  (copyfiles
  147.   (source (tackon "NX_Utilities:" "devs/printers"))
  148.   (dest (tackon defdrive "devs/printers"))
  149.   (choices "EpsonQ")
  150.  )
  151. )
  152.  
  153. (if (bitand printersa 1024)
  154.  (copyfiles
  155.   (source (tackon "NX_Utilities:" "devs/printers"))
  156.   (dest (tackon defdrive "devs/printers"))
  157.   (choices "EpsonXOld")
  158.  )
  159. )
  160.  
  161. (if (bitand printersa 2048)
  162.  (copyfiles
  163.   (source (tackon "NX_Utilities:" "devs/printers"))
  164.   (dest (tackon defdrive "devs/printers"))
  165.   (choices "EpsonX[CBM_MPS-1250]")
  166.  )
  167. )
  168.  
  169. (if (bitand printersa 4096)
  170.  (copyfiles
  171.   (source (tackon "NX_Utilities:" "devs/printers"))
  172.   (dest (tackon defdrive "devs/printers"))
  173.   (choices "Howtek_Pixelmaster")
  174.  )
  175. )
  176.  
  177. (if (bitand printersb 1)
  178.  (copyfiles
  179.   (source (tackon "NX_Utilities:" "devs/printers"))
  180.   (dest (tackon defdrive "devs/printers"))
  181.   (choices "HP_DeskJet")
  182.  )
  183. )
  184.  
  185. (if (bitand printersb 2)
  186.  (copyfiles
  187.   (source (tackon "NX_Utilities:" "devs/printers"))
  188.   (dest (tackon defdrive "devs/printers"))
  189.   (choices "HP_LaserJet")
  190.  )
  191. )
  192.  
  193. (if (bitand printersb 4)
  194.  (copyfiles
  195.   (source (tackon "NX_Utilities:" "devs/printers"))
  196.   (dest (tackon defdrive "devs/printers"))
  197.   (choices "HP_PaintJet")
  198.  )
  199. )
  200.  
  201. (if (bitand printersb 8)
  202.  (copyfiles
  203.   (source (tackon "NX_Utilities:" "devs/printers"))
  204.   (dest (tackon defdrive "devs/printers"))
  205.   (choices "HP_ThinkJet")
  206.  )
  207. )
  208.  
  209. (if (bitand printersb 16)
  210.  (copyfiles
  211.   (source (tackon "NX_Utilities:" "devs/printers"))
  212.   (dest (tackon defdrive "devs/printers"))
  213.   (choices "ImagewriterII")
  214.  )
  215. )
  216.  
  217. (if (bitand printersb 32)
  218.  (copyfiles
  219.   (source (tackon "NX_Utilities:" "devs/printers"))
  220.   (dest (tackon defdrive "devs/printers"))
  221.   (choices "Nec_Pinwriter")
  222.  )
  223. )
  224.  
  225. (if (bitand printersb 64)
  226.  (copyfiles
  227.   (source (tackon "NX_Utilities:" "devs/printers"))
  228.   (dest (tackon defdrive "devs/printers"))
  229.   (choices "Okidata_293I")
  230.  )
  231. )
  232.  
  233. (if (bitand printersb 128)
  234.  (copyfiles
  235.   (source (tackon "NX_Utilities:" "devs/printers"))
  236.   (dest (tackon defdrive "devs/printers"))
  237.   (choices "Okidata_92")
  238.  )
  239. )
  240.  
  241. (if (bitand printersb 256)
  242.  (copyfiles
  243.   (source (tackon "NX_Utilities:" "devs/printers"))
  244.   (dest (tackon defdrive "devs/printers"))
  245.   (choices "Okimate_20")
  246.  )
  247. )
  248.  
  249. (if (bitand printersb 512)
  250.  (copyfiles
  251.   (source (tackon "NX_Utilities:" "devs/printers"))
  252.   (dest (tackon defdrive "devs/printers"))
  253.   (choices "Quadram_QuadJet")
  254.  )
  255. )
  256.  
  257. (if (bitand printersb 1024)
  258.  (copyfiles
  259.   (source (tackon "NX_Utilities:" "devs/printers"))
  260.   (dest (tackon defdrive "devs/printers"))
  261.   (choices "Qume_LetterPro_20")
  262.  )
  263. )
  264.  
  265. (if (bitand printersb 2048)
  266.  (copyfiles
  267.   (source (tackon "NX_Utilities:" "devs/printers"))
  268.   (dest (tackon defdrive "devs/printers"))
  269.   (choices "Toshiba_P351C")
  270.  )
  271. )
  272.  
  273. (if (bitand printersb 4096)
  274.  (copyfiles
  275.   (source (tackon "NX_Utilities:" "devs/printers"))
  276.   (dest (tackon defdrive "devs/printers"))
  277.   (choices "Toshiba_P351SX")
  278.  )
  279. )
  280.  
  281. (if (bitand printersb 8192)
  282.  (copyfiles
  283.   (source (tackon "NX_Utilities:" "devs/printers"))
  284.   (dest (tackon defdrive "devs/printers"))
  285.   (choices "Xerox_4020")
  286.  )
  287. )
  288.  
  289. (complete 100)
  290.  
  291. (exit)
  292.