Home » Personal collection » Acorn ADFS disks » Greaseweazled » adfs_Dominic_2B.adf » PrinterDMs/!PrinterIX/!Run

PrinterDMs/!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_Dominic_2B.adf
Filename: PrinterDMs/!PrinterIX/!Run
Read OK:
File size: 033C bytes
Load address: FFFFEB43
Exec address: 8ADC96B5
Duplicates

There are 2 duplicate copies 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>
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 53 65 74  20 46 69 6c 65 24 54 79  |Dir>.Set File$Ty|
00000090  70 65 5f 46 46 34 20 22  50 72 69 6e 74 6f 75 74  |pe_FF4 "Printout|
000000a0  22 0a 7c 0a 7c 20 41 6c  6c 6f 77 20 61 6c 74 65  |".|.| Allow alte|
000000b0  72 6e 61 74 69 76 65 20  76 61 6c 75 65 73 20 66  |rnative values f|
000000c0  6f 72 20 50 72 69 6e 74  65 72 24 53 63 72 61 70  |or Printer$Scrap|
000000d0  20 61 6e 64 20 50 72 69  6e 74 65 72 24 54 65 6d  | and Printer$Tem|
000000e0  70 0a 7c 20 54 68 65 73  65 20 63 6f 75 6c 64 20  |p.| These could |
000000f0  62 65 20 64 69 72 65 63  74 65 64 20 74 6f 20 75  |be directed to u|
00000100  73 65 20 74 68 65 20 52  41 4d 20 66 69 6c 69 6e  |se the RAM filin|
00000110  67 20 73 79 73 74 65 6d  2c 20 66 6f 72 20 65 78  |g system, for ex|
00000120  61 6d 70 6c 65 2e 0a 7c  0a 49 66 20 22 3c 50 72  |ample..|.If "<Pr|
00000130  69 6e 74 65 72 24 53 63  72 61 70 3e 22 20 3d 20  |inter$Scrap>" = |
00000140  22 22 20 4f 52 20 22 3c  50 72 69 6e 74 65 72 24  |"" OR "<Printer$|
00000150  53 63 72 61 70 3e 22 20  52 49 47 48 54 20 36 20  |Scrap>" RIGHT 6 |
00000160  3d 20 22 21 53 63 72 61  70 22 20 54 68 65 6e 20  |= "!Scrap" Then |
00000170  53 65 74 20 50 72 69 6e  74 65 72 24 53 63 72 61  |Set Printer$Scra|
00000180  70 20 3c 50 44 72 69 76  65 72 24 44 69 72 3e 2e  |p <PDriver$Dir>.|
00000190  49 78 21 53 63 72 61 70  0a 49 66 20 22 3c 50 72  |Ix!Scrap.If "<Pr|
000001a0  69 6e 74 65 72 24 54 65  6d 70 3e 22 20 3d 20 22  |inter$Temp>" = "|
000001b0  22 20 4f 52 20 22 3c 50  72 69 6e 74 65 72 24 54  |" OR "<Printer$T|
000001c0  65 6d 70 3e 22 20 52 49  47 48 54 20 35 20 3d 20  |emp>" RIGHT 5 = |
000001d0  22 21 54 65 6d 70 22 20  54 68 65 6e 20 53 65 74  |"!Temp" Then Set|
000001e0  20 50 72 69 6e 74 65 72  24 54 65 6d 70 20 3c 50  | Printer$Temp <P|
000001f0  44 72 69 76 65 72 24 44  69 72 3e 2e 49 78 21 54  |Driver$Dir>.Ix!T|
00000200  65 6d 70 0a 7c 0a 7c 20  43 6f 6c 6f 75 72 54 72  |emp.|.| ColourTr|
00000210  61 6e 73 20 6d 75 73 74  20 62 65 20 6c 6f 61 64  |ans must be load|
00000220  65 64 20 62 65 66 6f 72  65 20 74 68 65 20 70 72  |ed before the pr|
00000230  69 6e 74 65 72 20 64 72  69 76 65 72 20 6d 6f 64  |inter driver mod|
00000240  75 6c 65 0a 7c 0a 52 4d  45 6e 73 75 72 65 20 43  |ule.|.RMEnsure C|
00000250  6f 6c 6f 75 72 54 72 61  6e 73 20 30 2e 35 32 20  |olourTrans 0.52 |
00000260  52 4d 4c 6f 61 64 20 3c  50 44 72 69 76 65 72 24  |RMLoad <PDriver$|
00000270  44 69 72 3e 2e 43 6f 6c  6f 75 72 73 0a 7c 0a 7c  |Dir>.Colours.|.||
00000280  20 49 6e 73 74 61 6c 6c  20 70 72 69 6e 74 65 72  | Install printer|
00000290  20 64 72 69 76 65 72 20  6d 6f 64 75 6c 65 0a 7c  | driver module.||
000002a0  20 44 6f 6e 27 74 20 52  4d 45 6e 73 75 72 65 20  | Don't RMEnsure |
000002b0  61 73 20 77 65 20 61 72  65 20 70 72 6f 62 61 62  |as we are probab|
000002c0  6c 79 20 72 65 70 6c 61  63 69 6e 67 20 73 6f 6d  |ly replacing som|
000002d0  65 20 6f 74 68 65 72 20  70 72 69 6e 74 65 72 0a  |e other printer.|
000002e0  7c 0a 52 4d 4c 6f 61 64  20 3c 50 44 72 69 76 65  ||.RMLoad <PDrive|
000002f0  72 24 44 69 72 3e 2e 50  44 72 69 76 65 72 49 78  |r$Dir>.PDriverIx|
00000300  0a 7c 0a 57 69 6d 70 73  6c 6f 74 20 2d 6d 69 6e  |.|.Wimpslot -min|
00000310  20 37 32 4b 20 2d 6d 61  78 20 37 32 4b 0a 7c 0a  | 72K -max 72K.|.|
00000320  52 75 6e 20 3c 50 44 72  69 76 65 72 24 44 69 72  |Run <PDriver$Dir|
00000330  3e 2e 21 52 75 6e 49 6d  61 67 65 0a              |>.!RunImage.|
0000033c
PrinterDMs/!PrinterIX/!Run.m0
PrinterDMs/!PrinterIX/!Run.m1
PrinterDMs/!PrinterIX/!Run.m2
PrinterDMs/!PrinterIX/!Run.m4
PrinterDMs/!PrinterIX/!Run.m5