Home » Personal collection » Acorn hard disk » apps » Printers » 153/!Printers/!Run

153/!Printers/!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 » Printers
Filename: 153/!Printers/!Run
Read OK:
File size: 064F bytes
Load address: 0000
Exec address: 0000
Duplicates

There is 1 duplicate copy of this file in the archive:

File contents
|
| 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
00000000  7c 0a 7c 20 54 68 69 73  20 61 70 70 6c 69 63 61  ||.| This applica|
00000010  74 69 6f 6e 20 69 73 20  a9 20 31 39 39 31 2c 20  |tion is . 1991, |
00000020  31 39 39 32 2c 20 31 39  39 33 2c 20 31 39 39 34  |1992, 1993, 1994|
00000030  2c 31 39 39 35 20 41 63  6f 72 6e 20 43 6f 6d 70  |,1995 Acorn Comp|
00000040  75 74 65 72 73 20 4c 74  64 2e 20 0a 7c 20 20 20  |uters Ltd. .|   |
00000050  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 41  |               A|
00000060  6c 6c 20 52 69 67 68 74  73 20 52 65 73 65 72 76  |ll Rights Reserv|
00000070  65 64 2e 0a 7c 0a 52 4d  45 6e 73 75 72 65 20 55  |ed..|.RMEnsure U|
00000080  74 69 6c 69 74 79 4d 6f  64 75 6c 65 20 33 2e 31  |tilityModule 3.1|
00000090  30 20 45 72 72 6f 72 20  54 68 69 73 20 61 70 70  |0 Error This app|
000000a0  6c 69 63 61 74 69 6f 6e  20 69 73 20 6f 6e 6c 79  |lication is only|
000000b0  20 73 75 69 74 61 62 6c  65 20 66 6f 72 20 75 73  | suitable for us|
000000c0  65 20 77 69 74 68 20 52  49 53 43 20 4f 53 20 33  |e with RISC OS 3|
000000d0  2e 31 30 20 6f 72 20 6c  61 74 65 72 20 76 65 72  |.10 or later ver|
000000e0  73 69 6f 6e 73 0a 7c 0a  53 65 74 20 50 72 69 6e  |sions.|.Set Prin|
000000f0  74 65 72 73 24 44 69 72  20 20 3c 4f 62 65 79 24  |ters$Dir  <Obey$|
00000100  44 69 72 3e 0a 7c 20 4e  6f 74 65 20 74 68 61 74  |Dir>.| Note that|
00000110  20 74 68 69 73 20 76 65  72 73 69 6f 6e 20 6f 66  | this version of|
00000120  20 21 50 72 69 6e 74 65  72 73 20 69 73 20 74 6f  | !Printers is to|
00000130  74 61 6c 6c 79 20 64 69  73 63 20 62 61 73 65 64  |tally disc based|
00000140  0a 53 65 74 20 50 72 69  6e 74 65 72 73 24 50 61  |.Set Printers$Pa|
00000150  74 68 20 3c 4f 62 65 79  24 44 69 72 3e 2e 0a 53  |th <Obey$Dir>..S|
00000160  65 74 20 46 69 6c 65 24  54 79 70 65 5f 46 43 36  |et File$Type_FC6|
00000170  20 50 72 6e 74 44 65 66  6e 0a 53 65 74 20 41 6c  | PrntDefn.Set Al|
00000180  69 61 73 24 40 52 75 6e  54 79 70 65 5f 46 43 36  |ias$@RunType_FC6|
00000190  20 52 75 6e 20 3c 4f 62  65 79 24 44 69 72 3e 20  | Run <Obey$Dir> |
000001a0  2d 70 64 66 20 25 25 30  0a 7c 0a 7c 20 6d 61 78  |-pdf %%0.|.| max|
000001b0  69 6d 75 6d 20 6d 65 6d  6f 72 79 20 74 6f 20 62  |imum memory to b|
000001c0  65 20 75 73 65 64 20 62  79 20 50 44 72 69 76 65  |e used by PDrive|
000001d0  72 44 50 20 28 6b 62 79  74 65 73 29 0a 49 66 20  |rDP (kbytes).If |
000001e0  22 3c 50 44 72 69 76 65  72 44 50 24 4d 61 78 4d  |"<PDriverDP$MaxM|
000001f0  65 6d 3e 22 20 3d 20 22  22 20 54 68 65 6e 20 53  |em>" = "" Then S|
00000200  65 74 20 50 44 72 69 76  65 72 44 50 24 4d 61 78  |et PDriverDP$Max|
00000210  4d 65 6d 20 38 31 39 32  0a 7c 0a 7c 20 45 6e 73  |Mem 8192.|.| Ens|
00000220  75 72 65 20 74 68 61 74  20 74 68 65 72 65 20 69  |ure that there i|
00000230  73 20 65 6e 6f 75 67 68  20 6d 65 6d 6f 72 79 20  |s enough memory |
00000240  66 6f 72 20 21 50 72 69  6e 74 65 72 73 2c 20 73  |for !Printers, s|
00000250  6f 6d 65 20 6d 6f 64 75  6c 65 73 20 61 6e 64 20  |ome modules and |
00000260  73 6f 6d 65 20 77 6f 72  6b 73 70 61 63 65 0a 57  |some workspace.W|
00000270  69 6d 70 53 6c 6f 74 20  2d 6d 69 6e 20 31 39 32  |impSlot -min 192|
00000280  4b 20 2d 6d 61 78 20 31  39 32 4b 0a 57 69 6d 70  |K -max 192K.Wimp|
00000290  53 6c 6f 74 20 2d 6d 69  6e 20 31 32 38 4b 20 2d  |Slot -min 128K -|
000002a0  6d 61 78 20 31 32 38 4b  0a 7c 0a 7c 20 49 66 20  |max 128K.|.| If |
000002b0  74 68 65 72 65 20 69 73  6e 27 74 20 61 6e 79 20  |there isn't any |
000002c0  50 44 72 69 76 65 72 20  6d 6f 64 75 6c 65 20 61  |PDriver module a|
000002d0  74 20 61 6c 6c 2c 20 6c  6f 61 64 20 74 68 65 20  |t all, load the |
000002e0  6f 6e 65 20 77 65 27 76  65 20 67 6f 74 2e 20 54  |one we've got. T|
000002f0  68 69 73 20 65 6e 73 75  72 65 73 20 74 68 61 74  |his ensures that|
00000300  0a 7c 20 74 68 65 20 6c  6f 61 64 69 6e 67 20 6f  |.| the loading o|
00000310  66 20 52 65 6d 6f 74 65  50 72 69 6e 74 65 72 53  |f RemotePrinterS|
00000320  75 70 70 6f 72 74 20 77  69 6c 6c 20 61 74 20 6c  |upport will at l|
00000330  65 61 73 74 20 67 65 74  20 70 61 73 74 20 74 68  |east get past th|
00000340  61 74 20 70 6f 69 6e 74  2e 0a 52 4d 45 6e 73 75  |at point..RMEnsu|
00000350  72 65 20 50 44 72 69 76  65 72 20 20 20 20 20 20  |re PDriver      |
00000360  20 20 20 20 20 20 20 20  20 30 2e 30 30 20 52 4d  |         0.00 RM|
00000370  4c 6f 61 64 20 50 72 69  6e 74 65 72 73 3a 4d 6f  |Load Printers:Mo|
00000380  64 75 6c 65 73 2e 50 44  72 69 76 65 72 0a 7c 0a  |dules.PDriver.|.|
00000390  7c 20 45 6e 73 75 72 65  20 74 68 61 74 20 61 6e  || Ensure that an|
000003a0  79 20 52 4f 4d 20 76 65  72 73 69 6f 6e 20 69 73  |y ROM version is|
000003b0  20 64 69 73 61 62 6c 65  64 0a 53 65 74 20 50 72  | disabled.Set Pr|
000003c0  69 6e 74 65 72 73 24 49  73 52 4f 4d 56 20 59 0a  |inters$IsROMV Y.|
000003d0  52 4d 45 6e 73 75 72 65  20 50 72 69 6e 74 65 72  |RMEnsure Printer|
000003e0  73 20 30 2e 30 30 20 53  65 74 20 50 72 69 6e 74  |s 0.00 Set Print|
000003f0  65 72 73 24 49 73 52 4f  4d 56 20 4e 0a 49 66 20  |ers$IsROMV N.If |
00000400  22 3c 50 72 69 6e 74 65  72 73 24 49 73 52 4f 4d  |"<Printers$IsROM|
00000410  56 3e 22 20 3d 20 22 59  22 20 54 68 65 6e 20 52  |V>" = "Y" Then R|
00000420  4d 4b 69 6c 6c 20 50 72  69 6e 74 65 72 73 0a 55  |MKill Printers.U|
00000430  6e 73 65 74 20 50 72 69  6e 74 65 72 73 24 49 73  |nset Printers$Is|
00000440  52 4f 4d 56 0a 7c 0a 52  4d 45 6e 73 75 72 65 20  |ROMV.|.RMEnsure |
00000450  43 6f 6c 6f 75 72 54 72  61 6e 73 20 20 20 20 20  |ColourTrans     |
00000460  20 20 20 20 20 20 31 2e  35 30 20 52 4d 4c 6f 61  |      1.50 RMLoa|
00000470  64 20 50 72 69 6e 74 65  72 73 3a 4d 6f 64 75 6c  |d Printers:Modul|
00000480  65 73 2e 43 6f 6c 6f 75  72 73 0a 52 4d 45 6e 73  |es.Colours.RMEns|
00000490  75 72 65 20 52 65 6d 6f  74 65 50 72 69 6e 74 65  |ure RemotePrinte|
000004a0  72 4d 65 73 73 61 67 65  73 20 31 2e 30 31 20 52  |rMessages 1.01 R|
000004b0  4d 4c 6f 61 64 20 50 72  69 6e 74 65 72 73 3a 4d  |MLoad Printers:M|
000004c0  6f 64 75 6c 65 73 2e 52  65 6d 50 72 6e 4d 73 67  |odules.RemPrnMsg|
000004d0  73 0a 52 4d 45 6e 73 75  72 65 20 52 65 6d 6f 74  |s.RMEnsure Remot|
000004e0  65 50 72 69 6e 74 65 72  4d 65 73 73 61 67 65 73  |ePrinterMessages|
000004f0  20 31 2e 30 31 20 45 72  72 6f 72 20 21 50 72 69  | 1.01 Error !Pri|
00000500  6e 74 65 72 73 20 6e 65  65 64 73 20 52 65 6d 6f  |nters needs Remo|
00000510  74 65 50 72 69 6e 74 65  72 4d 65 73 73 61 67 65  |tePrinterMessage|
00000520  73 20 76 65 72 73 69 6f  6e 20 31 2e 30 31 20 6f  |s version 1.01 o|
00000530  72 20 6c 61 74 65 72 0a  52 4d 45 6e 73 75 72 65  |r later.RMEnsure|
00000540  20 52 65 6d 6f 74 65 50  72 69 6e 74 65 72 53 75  | RemotePrinterSu|
00000550  70 70 6f 72 74 20 20 31  2e 30 31 20 52 4d 4c 6f  |pport  1.01 RMLo|
00000560  61 64 20 50 72 69 6e 74  65 72 73 3a 4d 6f 64 75  |ad Printers:Modu|
00000570  6c 65 73 2e 52 65 6d 50  72 6e 53 70 74 0a 52 4d  |les.RemPrnSpt.RM|
00000580  45 6e 73 75 72 65 20 52  65 6d 6f 74 65 50 72 69  |Ensure RemotePri|
00000590  6e 74 65 72 53 75 70 70  6f 72 74 20 20 31 2e 30  |nterSupport  1.0|
000005a0  31 20 45 72 72 6f 72 20  21 50 72 69 6e 74 65 72  |1 Error !Printer|
000005b0  73 20 6e 65 65 64 73 20  52 65 6d 6f 74 65 50 72  |s needs RemotePr|
000005c0  69 6e 74 65 72 53 75 70  70 6f 72 74 20 31 2e 30  |interSupport 1.0|
000005d0  31 20 6f 72 20 6c 61 74  65 72 0a 7c 0a 49 63 6f  |1 or later.|.Ico|
000005e0  6e 53 70 72 69 74 65 73  20 50 72 69 6e 74 65 72  |nSprites Printer|
000005f0  73 3a 21 53 70 72 69 74  65 73 0a 2f 3c 50 72 69  |s:!Sprites./<Pri|
00000600  6e 74 65 72 73 24 44 69  72 3e 2e 53 65 74 50 72  |nters$Dir>.SetPr|
00000610  69 6e 74 0a 57 69 6d 70  53 6c 6f 74 20 2d 6d 69  |int.WimpSlot -mi|
00000620  6e 20 31 32 38 4b 20 2d  6d 61 78 20 31 32 38 4b  |n 128K -max 128K|
00000630  0a 2f 3c 50 72 69 6e 74  65 72 73 24 44 69 72 3e  |./<Printers$Dir>|
00000640  2e 21 52 75 6e 49 6d 61  67 65 20 25 2a 30 0a     |.!RunImage %*0.|
0000064f