home *** CD-ROM | disk | FTP | other *** search
/ Acorn User 4 / AUCD4.iso / acorn / riscos / releases / ro2extra / !PrinterPS / !Run next >
Text File  |  1989-07-11  |  829b  |  28 lines

  1. | > !PrinterPS.!Run
  2. |
  3. | PrinterPS V1.12 (11-Jul-89)
  4. |
  5. If "<$Printing>"<>"" Then Error 42 Printer in use
  6. |
  7. Set PDriver$Dir <Obey$Dir>
  8. Iconsprites <PDriver$Dir>.!Sprites
  9. |
  10. | Allow alternative values for Printer$Scrap and Printer$Temp
  11. | These could be directed to use the RAM filing system, for example.
  12. |
  13. If "<Printer$Scrap>" = "" OR "<Printer$Scrap>" RIGHT 6 = "!Scrap" Then Set Printer$Scrap <PDriver$Dir>.PS!Scrap
  14. If "<Printer$Temp>" = "" OR "<Printer$Temp>" RIGHT 5 = "!Temp" Then Set Printer$Temp <PDriver$Dir>.PS!Temp
  15. |
  16. | Must load ColourTrans before the printer driver module
  17. |
  18. RMEnsure ColourTrans 0.52 RMLoad <PDriver$Dir>.Colours
  19. |
  20. | Install printer driver module
  21. | Don't RMEnsure as we are probably replacing some other printer
  22. |
  23. RMLoad <PDriver$Dir>.PDriverPS
  24. |
  25. Wimpslot -min 80K -max 80K
  26. |
  27. Run <PDriver$Dir>.!RunImage
  28.