Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_RiscOs_Apps_2.adf » !PrinterIx/!Run

!PrinterIx/!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_2.adf
Filename: !PrinterIx/!Run
Read OK:
File size: 035F bytes
Load address: FFFFEB41
Exec address: C759622F
Duplicates

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

File contents
| > !PrinterIx.!Run
|
| PrinterIx V1.12 (11-Jul-89)
|
If "<$Printing>"<>"" Then Error 42 Printer in use
|
Set PDriver$Dir <Obey$Dir>
Iconsprites <PDriver$Dir>.!Sprites
Set File$Type_FF4 "Printout"
|
| 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>.Ix!Scrap
If "<Printer$Temp>" = "" OR "<Printer$Temp>" RIGHT 5 = "!Temp" Then Set Printer$Temp <PDriver$Dir>.Ix!Temp
|
| ColourTrans must be loaded 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>.PDriverIx
|
Wimpslot -min 72K -max 72K
|
Run <PDriver$Dir>.!RunImage
00000000  7c 20 3e 20 21 50 72 69  6e 74 65 72 49 78 2e 21  || > !PrinterIx.!|
00000010  52 75 6e 0a 7c 0a 7c 20  50 72 69 6e 74 65 72 49  |Run.|.| PrinterI|
00000020  78 20 56 31 2e 31 32 20  28 31 31 2d 4a 75 6c 2d  |x 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  53 65 74 20 46 69 6c 65  |Sprites.Set File|
000000b0  24 54 79 70 65 5f 46 46  34 20 22 50 72 69 6e 74  |$Type_FF4 "Print|
000000c0  6f 75 74 22 0a 7c 0a 7c  20 41 6c 6c 6f 77 20 61  |out".|.| Allow a|
000000d0  6c 74 65 72 6e 61 74 69  76 65 20 76 61 6c 75 65  |lternative value|
000000e0  73 20 66 6f 72 20 50 72  69 6e 74 65 72 24 53 63  |s for Printer$Sc|
000000f0  72 61 70 20 61 6e 64 20  50 72 69 6e 74 65 72 24  |rap and Printer$|
00000100  54 65 6d 70 0a 7c 20 54  68 65 73 65 20 63 6f 75  |Temp.| These cou|
00000110  6c 64 20 62 65 20 64 69  72 65 63 74 65 64 20 74  |ld be directed t|
00000120  6f 20 75 73 65 20 74 68  65 20 52 41 4d 20 66 69  |o use the RAM fi|
00000130  6c 69 6e 67 20 73 79 73  74 65 6d 2c 20 66 6f 72  |ling system, for|
00000140  20 65 78 61 6d 70 6c 65  2e 0a 7c 0a 49 66 20 22  | example..|.If "|
00000150  3c 50 72 69 6e 74 65 72  24 53 63 72 61 70 3e 22  |<Printer$Scrap>"|
00000160  20 3d 20 22 22 20 4f 52  20 22 3c 50 72 69 6e 74  | = "" OR "<Print|
00000170  65 72 24 53 63 72 61 70  3e 22 20 52 49 47 48 54  |er$Scrap>" RIGHT|
00000180  20 36 20 3d 20 22 21 53  63 72 61 70 22 20 54 68  | 6 = "!Scrap" Th|
00000190  65 6e 20 53 65 74 20 50  72 69 6e 74 65 72 24 53  |en Set Printer$S|
000001a0  63 72 61 70 20 3c 50 44  72 69 76 65 72 24 44 69  |crap <PDriver$Di|
000001b0  72 3e 2e 49 78 21 53 63  72 61 70 0a 49 66 20 22  |r>.Ix!Scrap.If "|
000001c0  3c 50 72 69 6e 74 65 72  24 54 65 6d 70 3e 22 20  |<Printer$Temp>" |
000001d0  3d 20 22 22 20 4f 52 20  22 3c 50 72 69 6e 74 65  |= "" OR "<Printe|
000001e0  72 24 54 65 6d 70 3e 22  20 52 49 47 48 54 20 35  |r$Temp>" RIGHT 5|
000001f0  20 3d 20 22 21 54 65 6d  70 22 20 54 68 65 6e 20  | = "!Temp" Then |
00000200  53 65 74 20 50 72 69 6e  74 65 72 24 54 65 6d 70  |Set Printer$Temp|
00000210  20 3c 50 44 72 69 76 65  72 24 44 69 72 3e 2e 49  | <PDriver$Dir>.I|
00000220  78 21 54 65 6d 70 0a 7c  0a 7c 20 43 6f 6c 6f 75  |x!Temp.|.| Colou|
00000230  72 54 72 61 6e 73 20 6d  75 73 74 20 62 65 20 6c  |rTrans must be l|
00000240  6f 61 64 65 64 20 62 65  66 6f 72 65 20 74 68 65  |oaded before the|
00000250  20 70 72 69 6e 74 65 72  20 64 72 69 76 65 72 20  | printer driver |
00000260  6d 6f 64 75 6c 65 0a 7c  0a 52 4d 45 6e 73 75 72  |module.|.RMEnsur|
00000270  65 20 43 6f 6c 6f 75 72  54 72 61 6e 73 20 30 2e  |e ColourTrans 0.|
00000280  35 32 20 52 4d 4c 6f 61  64 20 3c 50 44 72 69 76  |52 RMLoad <PDriv|
00000290  65 72 24 44 69 72 3e 2e  43 6f 6c 6f 75 72 73 0a  |er$Dir>.Colours.|
000002a0  7c 0a 7c 20 49 6e 73 74  61 6c 6c 20 70 72 69 6e  ||.| Install prin|
000002b0  74 65 72 20 64 72 69 76  65 72 20 6d 6f 64 75 6c  |ter driver modul|
000002c0  65 0a 7c 20 44 6f 6e 27  74 20 52 4d 45 6e 73 75  |e.| Don't RMEnsu|
000002d0  72 65 20 61 73 20 77 65  20 61 72 65 20 70 72 6f  |re as we are pro|
000002e0  62 61 62 6c 79 20 72 65  70 6c 61 63 69 6e 67 20  |bably replacing |
000002f0  73 6f 6d 65 20 6f 74 68  65 72 20 70 72 69 6e 74  |some other print|
00000300  65 72 0a 7c 0a 52 4d 4c  6f 61 64 20 3c 50 44 72  |er.|.RMLoad <PDr|
00000310  69 76 65 72 24 44 69 72  3e 2e 50 44 72 69 76 65  |iver$Dir>.PDrive|
00000320  72 49 78 0a 7c 0a 57 69  6d 70 73 6c 6f 74 20 2d  |rIx.|.Wimpslot -|
00000330  6d 69 6e 20 37 32 4b 20  2d 6d 61 78 20 37 32 4b  |min 72K -max 72K|
00000340  0a 7c 0a 52 75 6e 20 3c  50 44 72 69 76 65 72 24  |.|.Run <PDriver$|
00000350  44 69 72 3e 2e 21 52 75  6e 49 6d 61 67 65 0a     |Dir>.!RunImage.|
0000035f
!PrinterIx/!Run.m0
!PrinterIx/!Run.m1
!PrinterIx/!Run.m2
!PrinterIx/!Run.m4
!PrinterIx/!Run.m5