Home » Personal collection » Acorn hard disk » apps » Econet » !Spooler/!Run

!Spooler/!Run

This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.

Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.

Tape/disk: Home » Personal collection » Acorn hard disk » apps » Econet
Filename: !Spooler/!Run
Read OK:
File size: 05CC bytes
Load address: 0000
Exec address: 0000
File contents
| !Run for Spooler version 1.10 (**-Aug-92)
Iconsprites <Obey$dir>.!Sprites

WimpSlot -min 336k -max 336k
Set Spooler$Dir <Obey$dir>

| The following variable is the time (in seconds) the spooler will
| wait before it will abort any job that it has not received from
| the client for and will then send all data received so far
| to the printer.

Set Spooler$Timeout 240

SET ABCLib 1
RMEnsure ABCLibrary    0.00 SET ABCLib 0
|  ABCLib = 0 if not already loaded
IF ABCLib = 0 THEN RMEnsure ABClibrary 4.01 RMLoad System:modules.ABClib 
IF ABCLib = 0 THEN RMEnsure ABCLibrary 4.01 Error The version of ABCLib installed in your !System is too old. This application needs ABCLib 4.01 or later 
IF ABCLib = 1 THEN RMEnsure ABCLibrary 4.01 Error You are already running a version of ABCLib which is too old. This application needs ABCLib 4.01 or later 

RMEnsure WimpManager 1.92 RMLoad System:modules.WimpMan
RMEnsure WimpManager 1.92 Error You need WimpManager 1.92 or later

SET ECONET 1
RMensure Econet      0.00 SET ECONET 0
|If no Econet module fitted, then ECONET = 0
IF ECONET = 1 THEN RMEnsure Econet      5.48 RMLoad System:modules.Econet
IF ECONET = 1 THEN RMEnsure Econet      5.48 Error You need Econet 5.48 or later
UNSET ECONET

RMEnsure PrintFile   1.02 RMLoad <Obey$Dir>.modules.PrintFile
RMEnsure PrintFile   1.02 Error You need PrintFile 1.02 or later

WimpSlot -min 336k -max 336k
WimpSlot -min 192k -max 192k
Iconsprites <Obey$dir>.Sprites
Run <Spooler$Dir>.!RunImage
00000000  7c 20 21 52 75 6e 20 66  6f 72 20 53 70 6f 6f 6c  || !Run for Spool|
00000010  65 72 20 76 65 72 73 69  6f 6e 20 31 2e 31 30 20  |er version 1.10 |
00000020  28 2a 2a 2d 41 75 67 2d  39 32 29 0a 49 63 6f 6e  |(**-Aug-92).Icon|
00000030  73 70 72 69 74 65 73 20  3c 4f 62 65 79 24 64 69  |sprites <Obey$di|
00000040  72 3e 2e 21 53 70 72 69  74 65 73 0a 0a 57 69 6d  |r>.!Sprites..Wim|
00000050  70 53 6c 6f 74 20 2d 6d  69 6e 20 33 33 36 6b 20  |pSlot -min 336k |
00000060  2d 6d 61 78 20 33 33 36  6b 0a 53 65 74 20 53 70  |-max 336k.Set Sp|
00000070  6f 6f 6c 65 72 24 44 69  72 20 3c 4f 62 65 79 24  |ooler$Dir <Obey$|
00000080  64 69 72 3e 0a 0a 7c 20  54 68 65 20 66 6f 6c 6c  |dir>..| The foll|
00000090  6f 77 69 6e 67 20 76 61  72 69 61 62 6c 65 20 69  |owing variable i|
000000a0  73 20 74 68 65 20 74 69  6d 65 20 28 69 6e 20 73  |s the time (in s|
000000b0  65 63 6f 6e 64 73 29 20  74 68 65 20 73 70 6f 6f  |econds) the spoo|
000000c0  6c 65 72 20 77 69 6c 6c  0a 7c 20 77 61 69 74 20  |ler will.| wait |
000000d0  62 65 66 6f 72 65 20 69  74 20 77 69 6c 6c 20 61  |before it will a|
000000e0  62 6f 72 74 20 61 6e 79  20 6a 6f 62 20 74 68 61  |bort any job tha|
000000f0  74 20 69 74 20 68 61 73  20 6e 6f 74 20 72 65 63  |t it has not rec|
00000100  65 69 76 65 64 20 66 72  6f 6d 0a 7c 20 74 68 65  |eived from.| the|
00000110  20 63 6c 69 65 6e 74 20  66 6f 72 20 61 6e 64 20  | client for and |
00000120  77 69 6c 6c 20 74 68 65  6e 20 73 65 6e 64 20 61  |will then send a|
00000130  6c 6c 20 64 61 74 61 20  72 65 63 65 69 76 65 64  |ll data received|
00000140  20 73 6f 20 66 61 72 0a  7c 20 74 6f 20 74 68 65  | so far.| to the|
00000150  20 70 72 69 6e 74 65 72  2e 0a 0a 53 65 74 20 53  | printer...Set S|
00000160  70 6f 6f 6c 65 72 24 54  69 6d 65 6f 75 74 20 32  |pooler$Timeout 2|
00000170  34 30 0a 0a 53 45 54 20  41 42 43 4c 69 62 20 31  |40..SET ABCLib 1|
00000180  0a 52 4d 45 6e 73 75 72  65 20 41 42 43 4c 69 62  |.RMEnsure ABCLib|
00000190  72 61 72 79 20 20 20 20  30 2e 30 30 20 53 45 54  |rary    0.00 SET|
000001a0  20 41 42 43 4c 69 62 20  30 0a 7c 20 20 41 42 43  | ABCLib 0.|  ABC|
000001b0  4c 69 62 20 3d 20 30 20  69 66 20 6e 6f 74 20 61  |Lib = 0 if not a|
000001c0  6c 72 65 61 64 79 20 6c  6f 61 64 65 64 0a 49 46  |lready loaded.IF|
000001d0  20 41 42 43 4c 69 62 20  3d 20 30 20 54 48 45 4e  | ABCLib = 0 THEN|
000001e0  20 52 4d 45 6e 73 75 72  65 20 41 42 43 6c 69 62  | RMEnsure ABClib|
000001f0  72 61 72 79 20 34 2e 30  31 20 52 4d 4c 6f 61 64  |rary 4.01 RMLoad|
00000200  20 53 79 73 74 65 6d 3a  6d 6f 64 75 6c 65 73 2e  | System:modules.|
00000210  41 42 43 6c 69 62 20 0a  49 46 20 41 42 43 4c 69  |ABClib .IF ABCLi|
00000220  62 20 3d 20 30 20 54 48  45 4e 20 52 4d 45 6e 73  |b = 0 THEN RMEns|
00000230  75 72 65 20 41 42 43 4c  69 62 72 61 72 79 20 34  |ure ABCLibrary 4|
00000240  2e 30 31 20 45 72 72 6f  72 20 54 68 65 20 76 65  |.01 Error The ve|
00000250  72 73 69 6f 6e 20 6f 66  20 41 42 43 4c 69 62 20  |rsion of ABCLib |
00000260  69 6e 73 74 61 6c 6c 65  64 20 69 6e 20 79 6f 75  |installed in you|
00000270  72 20 21 53 79 73 74 65  6d 20 69 73 20 74 6f 6f  |r !System is too|
00000280  20 6f 6c 64 2e 20 54 68  69 73 20 61 70 70 6c 69  | old. This appli|
00000290  63 61 74 69 6f 6e 20 6e  65 65 64 73 20 41 42 43  |cation needs ABC|
000002a0  4c 69 62 20 34 2e 30 31  20 6f 72 20 6c 61 74 65  |Lib 4.01 or late|
000002b0  72 20 0a 49 46 20 41 42  43 4c 69 62 20 3d 20 31  |r .IF ABCLib = 1|
000002c0  20 54 48 45 4e 20 52 4d  45 6e 73 75 72 65 20 41  | THEN RMEnsure A|
000002d0  42 43 4c 69 62 72 61 72  79 20 34 2e 30 31 20 45  |BCLibrary 4.01 E|
000002e0  72 72 6f 72 20 59 6f 75  20 61 72 65 20 61 6c 72  |rror You are alr|
000002f0  65 61 64 79 20 72 75 6e  6e 69 6e 67 20 61 20 76  |eady running a v|
00000300  65 72 73 69 6f 6e 20 6f  66 20 41 42 43 4c 69 62  |ersion of ABCLib|
00000310  20 77 68 69 63 68 20 69  73 20 74 6f 6f 20 6f 6c  | which is too ol|
00000320  64 2e 20 54 68 69 73 20  61 70 70 6c 69 63 61 74  |d. This applicat|
00000330  69 6f 6e 20 6e 65 65 64  73 20 41 42 43 4c 69 62  |ion needs ABCLib|
00000340  20 34 2e 30 31 20 6f 72  20 6c 61 74 65 72 20 0a  | 4.01 or later .|
00000350  0a 52 4d 45 6e 73 75 72  65 20 57 69 6d 70 4d 61  |.RMEnsure WimpMa|
00000360  6e 61 67 65 72 20 31 2e  39 32 20 52 4d 4c 6f 61  |nager 1.92 RMLoa|
00000370  64 20 53 79 73 74 65 6d  3a 6d 6f 64 75 6c 65 73  |d System:modules|
00000380  2e 57 69 6d 70 4d 61 6e  0a 52 4d 45 6e 73 75 72  |.WimpMan.RMEnsur|
00000390  65 20 57 69 6d 70 4d 61  6e 61 67 65 72 20 31 2e  |e WimpManager 1.|
000003a0  39 32 20 45 72 72 6f 72  20 59 6f 75 20 6e 65 65  |92 Error You nee|
000003b0  64 20 57 69 6d 70 4d 61  6e 61 67 65 72 20 31 2e  |d WimpManager 1.|
000003c0  39 32 20 6f 72 20 6c 61  74 65 72 0a 0a 53 45 54  |92 or later..SET|
000003d0  20 45 43 4f 4e 45 54 20  31 0a 52 4d 65 6e 73 75  | ECONET 1.RMensu|
000003e0  72 65 20 45 63 6f 6e 65  74 20 20 20 20 20 20 30  |re Econet      0|
000003f0  2e 30 30 20 53 45 54 20  45 43 4f 4e 45 54 20 30  |.00 SET ECONET 0|
00000400  0a 7c 49 66 20 6e 6f 20  45 63 6f 6e 65 74 20 6d  |.|If no Econet m|
00000410  6f 64 75 6c 65 20 66 69  74 74 65 64 2c 20 74 68  |odule fitted, th|
00000420  65 6e 20 45 43 4f 4e 45  54 20 3d 20 30 0a 49 46  |en ECONET = 0.IF|
00000430  20 45 43 4f 4e 45 54 20  3d 20 31 20 54 48 45 4e  | ECONET = 1 THEN|
00000440  20 52 4d 45 6e 73 75 72  65 20 45 63 6f 6e 65 74  | RMEnsure Econet|
00000450  20 20 20 20 20 20 35 2e  34 38 20 52 4d 4c 6f 61  |      5.48 RMLoa|
00000460  64 20 53 79 73 74 65 6d  3a 6d 6f 64 75 6c 65 73  |d System:modules|
00000470  2e 45 63 6f 6e 65 74 0a  49 46 20 45 43 4f 4e 45  |.Econet.IF ECONE|
00000480  54 20 3d 20 31 20 54 48  45 4e 20 52 4d 45 6e 73  |T = 1 THEN RMEns|
00000490  75 72 65 20 45 63 6f 6e  65 74 20 20 20 20 20 20  |ure Econet      |
000004a0  35 2e 34 38 20 45 72 72  6f 72 20 59 6f 75 20 6e  |5.48 Error You n|
000004b0  65 65 64 20 45 63 6f 6e  65 74 20 35 2e 34 38 20  |eed Econet 5.48 |
000004c0  6f 72 20 6c 61 74 65 72  0a 55 4e 53 45 54 20 45  |or later.UNSET E|
000004d0  43 4f 4e 45 54 0a 0a 52  4d 45 6e 73 75 72 65 20  |CONET..RMEnsure |
000004e0  50 72 69 6e 74 46 69 6c  65 20 20 20 31 2e 30 32  |PrintFile   1.02|
000004f0  20 52 4d 4c 6f 61 64 20  3c 4f 62 65 79 24 44 69  | RMLoad <Obey$Di|
00000500  72 3e 2e 6d 6f 64 75 6c  65 73 2e 50 72 69 6e 74  |r>.modules.Print|
00000510  46 69 6c 65 0a 52 4d 45  6e 73 75 72 65 20 50 72  |File.RMEnsure Pr|
00000520  69 6e 74 46 69 6c 65 20  20 20 31 2e 30 32 20 45  |intFile   1.02 E|
00000530  72 72 6f 72 20 59 6f 75  20 6e 65 65 64 20 50 72  |rror You need Pr|
00000540  69 6e 74 46 69 6c 65 20  31 2e 30 32 20 6f 72 20  |intFile 1.02 or |
00000550  6c 61 74 65 72 0a 0a 57  69 6d 70 53 6c 6f 74 20  |later..WimpSlot |
00000560  2d 6d 69 6e 20 33 33 36  6b 20 2d 6d 61 78 20 33  |-min 336k -max 3|
00000570  33 36 6b 0a 57 69 6d 70  53 6c 6f 74 20 2d 6d 69  |36k.WimpSlot -mi|
00000580  6e 20 31 39 32 6b 20 2d  6d 61 78 20 31 39 32 6b  |n 192k -max 192k|
00000590  0a 49 63 6f 6e 73 70 72  69 74 65 73 20 3c 4f 62  |.Iconsprites <Ob|
000005a0  65 79 24 64 69 72 3e 2e  53 70 72 69 74 65 73 0a  |ey$dir>.Sprites.|
000005b0  52 75 6e 20 3c 53 70 6f  6f 6c 65 72 24 44 69 72  |Run <Spooler$Dir|
000005c0  3e 2e 21 52 75 6e 49 6d  61 67 65 0a              |>.!RunImage.|
000005cc