Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_RiscOs_Apps_1.adf » !PrinterPS/!Run
!PrinterPS/!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 ADFS disks » Greaseweazled » adfs_RiscOs_Apps_1.adf |
Filename: | !PrinterPS/!Run |
Read OK: | ✔ |
File size: | 033D bytes |
Load address: | FFFFEB41 |
Exec address: | C7595275 |
Duplicates
There are 2 duplicate copies of this file in the archive:
- Personal collection » Acorn ADFS disks » Archimedes » RiscOs_Apps_1.ADF » !PrinterPS/!Run
- Personal collection » Acorn ADFS disks » Greaseweazled » adfs_RiscOs_Apps_1.adf » !PrinterPS/!Run
- Personal collection » Acorn hard disk » apps » Printers » RiscOs2/!PrinterPS/!Run
File contents
| > !PrinterPS.!Run | | PrinterPS V1.12 (11-Jul-89) | If "<$Printing>"<>"" Then Error 42 Printer in use | Set PDriver$Dir <Obey$Dir> Iconsprites <PDriver$Dir>.!Sprites | | Allow alternative values for Printer$Scrap and Printer$Temp | These could be directed to use the RAM filing system, for example. | If "<Printer$Scrap>" = "" OR "<Printer$Scrap>" RIGHT 6 = "!Scrap" Then Set Printer$Scrap <PDriver$Dir>.PS!Scrap If "<Printer$Temp>" = "" OR "<Printer$Temp>" RIGHT 5 = "!Temp" Then Set Printer$Temp <PDriver$Dir>.PS!Temp | | Must load ColourTrans before the printer driver module | RMEnsure ColourTrans 0.52 RMLoad <PDriver$Dir>.Colours | | Install printer driver module | Don't RMEnsure as we are probably replacing some other printer | RMLoad <PDriver$Dir>.PDriverPS | Wimpslot -min 80K -max 80K | Run <PDriver$Dir>.!RunImage
00000000 7c 20 3e 20 21 50 72 69 6e 74 65 72 50 53 2e 21 || > !PrinterPS.!| 00000010 52 75 6e 0a 7c 0a 7c 20 50 72 69 6e 74 65 72 50 |Run.|.| PrinterP| 00000020 53 20 56 31 2e 31 32 20 28 31 31 2d 4a 75 6c 2d |S V1.12 (11-Jul-| 00000030 38 39 29 0a 7c 0a 49 66 20 22 3c 24 50 72 69 6e |89).|.If "<$Prin| 00000040 74 69 6e 67 3e 22 3c 3e 22 22 20 54 68 65 6e 20 |ting>"<>"" Then | 00000050 45 72 72 6f 72 20 34 32 20 50 72 69 6e 74 65 72 |Error 42 Printer| 00000060 20 69 6e 20 75 73 65 0a 7c 0a 53 65 74 20 50 44 | in use.|.Set PD| 00000070 72 69 76 65 72 24 44 69 72 20 3c 4f 62 65 79 24 |river$Dir <Obey$| 00000080 44 69 72 3e 0a 49 63 6f 6e 73 70 72 69 74 65 73 |Dir>.Iconsprites| 00000090 20 3c 50 44 72 69 76 65 72 24 44 69 72 3e 2e 21 | <PDriver$Dir>.!| 000000a0 53 70 72 69 74 65 73 0a 7c 0a 7c 20 41 6c 6c 6f |Sprites.|.| Allo| 000000b0 77 20 61 6c 74 65 72 6e 61 74 69 76 65 20 76 61 |w alternative va| 000000c0 6c 75 65 73 20 66 6f 72 20 50 72 69 6e 74 65 72 |lues for Printer| 000000d0 24 53 63 72 61 70 20 61 6e 64 20 50 72 69 6e 74 |$Scrap and Print| 000000e0 65 72 24 54 65 6d 70 0a 7c 20 54 68 65 73 65 20 |er$Temp.| These | 000000f0 63 6f 75 6c 64 20 62 65 20 64 69 72 65 63 74 65 |could be directe| 00000100 64 20 74 6f 20 75 73 65 20 74 68 65 20 52 41 4d |d to use the RAM| 00000110 20 66 69 6c 69 6e 67 20 73 79 73 74 65 6d 2c 20 | filing system, | 00000120 66 6f 72 20 65 78 61 6d 70 6c 65 2e 0a 7c 0a 49 |for example..|.I| 00000130 66 20 22 3c 50 72 69 6e 74 65 72 24 53 63 72 61 |f "<Printer$Scra| 00000140 70 3e 22 20 3d 20 22 22 20 4f 52 20 22 3c 50 72 |p>" = "" OR "<Pr| 00000150 69 6e 74 65 72 24 53 63 72 61 70 3e 22 20 52 49 |inter$Scrap>" RI| 00000160 47 48 54 20 36 20 3d 20 22 21 53 63 72 61 70 22 |GHT 6 = "!Scrap"| 00000170 20 54 68 65 6e 20 53 65 74 20 50 72 69 6e 74 65 | Then Set Printe| 00000180 72 24 53 63 72 61 70 20 3c 50 44 72 69 76 65 72 |r$Scrap <PDriver| 00000190 24 44 69 72 3e 2e 50 53 21 53 63 72 61 70 0a 49 |$Dir>.PS!Scrap.I| 000001a0 66 20 22 3c 50 72 69 6e 74 65 72 24 54 65 6d 70 |f "<Printer$Temp| 000001b0 3e 22 20 3d 20 22 22 20 4f 52 20 22 3c 50 72 69 |>" = "" OR "<Pri| 000001c0 6e 74 65 72 24 54 65 6d 70 3e 22 20 52 49 47 48 |nter$Temp>" RIGH| 000001d0 54 20 35 20 3d 20 22 21 54 65 6d 70 22 20 54 68 |T 5 = "!Temp" Th| 000001e0 65 6e 20 53 65 74 20 50 72 69 6e 74 65 72 24 54 |en Set Printer$T| 000001f0 65 6d 70 20 3c 50 44 72 69 76 65 72 24 44 69 72 |emp <PDriver$Dir| 00000200 3e 2e 50 53 21 54 65 6d 70 0a 7c 0a 7c 20 4d 75 |>.PS!Temp.|.| Mu| 00000210 73 74 20 6c 6f 61 64 20 43 6f 6c 6f 75 72 54 72 |st load ColourTr| 00000220 61 6e 73 20 62 65 66 6f 72 65 20 74 68 65 20 70 |ans before the p| 00000230 72 69 6e 74 65 72 20 64 72 69 76 65 72 20 6d 6f |rinter driver mo| 00000240 64 75 6c 65 0a 7c 0a 52 4d 45 6e 73 75 72 65 20 |dule.|.RMEnsure | 00000250 43 6f 6c 6f 75 72 54 72 61 6e 73 20 30 2e 35 32 |ColourTrans 0.52| 00000260 20 52 4d 4c 6f 61 64 20 3c 50 44 72 69 76 65 72 | RMLoad <PDriver| 00000270 24 44 69 72 3e 2e 43 6f 6c 6f 75 72 73 0a 7c 0a |$Dir>.Colours.|.| 00000280 7c 20 49 6e 73 74 61 6c 6c 20 70 72 69 6e 74 65 || Install printe| 00000290 72 20 64 72 69 76 65 72 20 6d 6f 64 75 6c 65 0a |r driver module.| 000002a0 7c 20 44 6f 6e 27 74 20 52 4d 45 6e 73 75 72 65 || Don't RMEnsure| 000002b0 20 61 73 20 77 65 20 61 72 65 20 70 72 6f 62 61 | as we are proba| 000002c0 62 6c 79 20 72 65 70 6c 61 63 69 6e 67 20 73 6f |bly replacing so| 000002d0 6d 65 20 6f 74 68 65 72 20 70 72 69 6e 74 65 72 |me other printer| 000002e0 0a 7c 0a 52 4d 4c 6f 61 64 20 3c 50 44 72 69 76 |.|.RMLoad <PDriv| 000002f0 65 72 24 44 69 72 3e 2e 50 44 72 69 76 65 72 50 |er$Dir>.PDriverP| 00000300 53 0a 7c 0a 57 69 6d 70 73 6c 6f 74 20 2d 6d 69 |S.|.Wimpslot -mi| 00000310 6e 20 38 30 4b 20 2d 6d 61 78 20 38 30 4b 0a 7c |n 80K -max 80K.|| 00000320 0a 52 75 6e 20 3c 50 44 72 69 76 65 72 24 44 69 |.Run <PDriver$Di| 00000330 72 3e 2e 21 52 75 6e 49 6d 61 67 65 0a |r>.!RunImage.| 0000033d