Home » Archimedes archive » Archimedes World » archimedes_world_volume_15_issue_1_scp.adf » !Spooler_Spooler » !Spooler/Set_Vars

!Spooler/Set_Vars

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 » Archimedes archive » Archimedes World » archimedes_world_volume_15_issue_1_scp.adf » !Spooler_Spooler
Filename: !Spooler/Set_Vars
Read OK:
File size: 0100 bytes
Load address: 0000
Exec address: 0000
File contents
If "<PrinterType$5>" = "" then ERROR No Print to file activated in !Printers. Note: You should switch on "Append to file".

If "<PrinterType$5>" = "" then Set SpoolBuffer$Dir <Spooler$Dir>
If "<PrinterType$5>" <> "" then Set SpoolBuffer$Dir <PrinterType$5>
00000000  49 66 20 22 3c 50 72 69  6e 74 65 72 54 79 70 65  |If "<PrinterType|
00000010  24 35 3e 22 20 3d 20 22  22 20 74 68 65 6e 20 45  |$5>" = "" then E|
00000020  52 52 4f 52 20 4e 6f 20  50 72 69 6e 74 20 74 6f  |RROR No Print to|
00000030  20 66 69 6c 65 20 61 63  74 69 76 61 74 65 64 20  | file activated |
00000040  69 6e 20 21 50 72 69 6e  74 65 72 73 2e 20 4e 6f  |in !Printers. No|
00000050  74 65 3a 20 59 6f 75 20  73 68 6f 75 6c 64 20 73  |te: You should s|
00000060  77 69 74 63 68 20 6f 6e  20 22 41 70 70 65 6e 64  |witch on "Append|
00000070  20 74 6f 20 66 69 6c 65  22 2e 0a 0a 49 66 20 22  | to file"...If "|
00000080  3c 50 72 69 6e 74 65 72  54 79 70 65 24 35 3e 22  |<PrinterType$5>"|
00000090  20 3d 20 22 22 20 74 68  65 6e 20 53 65 74 20 53  | = "" then Set S|
000000a0  70 6f 6f 6c 42 75 66 66  65 72 24 44 69 72 20 3c  |poolBuffer$Dir <|
000000b0  53 70 6f 6f 6c 65 72 24  44 69 72 3e 0a 49 66 20  |Spooler$Dir>.If |
000000c0  22 3c 50 72 69 6e 74 65  72 54 79 70 65 24 35 3e  |"<PrinterType$5>|
000000d0  22 20 3c 3e 20 22 22 20  74 68 65 6e 20 53 65 74  |" <> "" then Set|
000000e0  20 53 70 6f 6f 6c 42 75  66 66 65 72 24 44 69 72  | SpoolBuffer$Dir|
000000f0  20 3c 50 72 69 6e 74 65  72 54 79 70 65 24 35 3e  | <PrinterType$5>|
00000100