home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ARM Club 3
/
TheARMClub_PDCD3.iso
/
hensa
/
printing
/
printers
/
printers_1
/
Disc1
/
!Printers
/
!Run
< prev
next >
Wrap
Text File
|
1995-11-02
|
2KB
|
40 lines
|
| This application is © 1991, 1992, 1993, 1994,1995 Acorn Computers Ltd.
| All Rights Reserved.
|
RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions
|
Set Printers$Dir <Obey$Dir>
| Note that this version of !Printers is totally disc based
Set Printers$Path <Obey$Dir>.
Set File$Type_FC6 PrntDefn
Set Alias$@RunType_FC6 Run <Obey$Dir> -pdf %%0
|
| maximum memory to be used by PDriverDP (kbytes)
If "<PDriverDP$MaxMem>" = "" Then Set PDriverDP$MaxMem 8192
|
| Ensure that there is enough memory for !Printers, some modules and some workspace
WimpSlot -min 192K -max 192K
WimpSlot -min 128K -max 128K
|
| If there isn't any PDriver module at all, load the one we've got. This ensures that
| the loading of RemotePrinterSupport will at least get past that point.
RMEnsure PDriver 0.00 RMLoad Printers:Modules.PDriver
|
| Ensure that any ROM version is disabled
Set Printers$IsROMV Y
RMEnsure Printers 0.00 Set Printers$IsROMV N
If "<Printers$IsROMV>" = "Y" Then RMKill Printers
Unset Printers$IsROMV
|
RMEnsure ColourTrans 1.50 RMLoad Printers:Modules.Colours
RMEnsure RemotePrinterMessages 1.01 RMLoad Printers:Modules.RemPrnMsgs
RMEnsure RemotePrinterMessages 1.01 Error !Printers needs RemotePrinterMessages version 1.01 or later
RMEnsure RemotePrinterSupport 1.01 RMLoad Printers:Modules.RemPrnSpt
RMEnsure RemotePrinterSupport 1.01 Error !Printers needs RemotePrinterSupport 1.01 or later
|
IconSprites Printers:!Sprites
/<Printers$Dir>.SetPrint
WimpSlot -min 128K -max 128K
/<Printers$Dir>.!RunImage %*0