Home » Archimedes archive » Archimedes World » AW-1995-01-Disc2.adf » Disk2Jan95 » !AWJan95/Goodies/Event/Examples/!PrintTest/!Help

!AWJan95/Goodies/Event/Examples/!PrintTest/!Help

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 » AW-1995-01-Disc2.adf » Disk2Jan95
Filename: !AWJan95/Goodies/Event/Examples/!PrintTest/!Help
Read OK:
File size: 0260 bytes
Load address: 0000
Exec address: 0000
File contents
A program to demonstrate sending a 'Fancy Text' file to the standard RISC OS printer drivers

File Format:
-----------
<27> <%11000000> Start literal escape sequence (send codes direct to printer)
<27> <0>         End literal escape sequence
<27> <%10fedcba> a = 1 Bold        on, a = 0 Bold        off
                 b = 1 Light       on, b = 0 Light       off
                 c = 1 Italic      on, c = 0 Italic      off
                 d = 1 Underline   on, d = 0 Underline   off
                 e = 1 Superscript on, e = 0 Superscript off
                 f = 1 Subscript   on, f = 0 Subscript   off
00000000  41 20 70 72 6f 67 72 61  6d 20 74 6f 20 64 65 6d  |A program to dem|
00000010  6f 6e 73 74 72 61 74 65  20 73 65 6e 64 69 6e 67  |onstrate sending|
00000020  20 61 20 27 46 61 6e 63  79 20 54 65 78 74 27 20  | a 'Fancy Text' |
00000030  66 69 6c 65 20 74 6f 20  74 68 65 20 73 74 61 6e  |file to the stan|
00000040  64 61 72 64 20 52 49 53  43 20 4f 53 20 70 72 69  |dard RISC OS pri|
00000050  6e 74 65 72 20 64 72 69  76 65 72 73 0a 0a 46 69  |nter drivers..Fi|
00000060  6c 65 20 46 6f 72 6d 61  74 3a 0a 2d 2d 2d 2d 2d  |le Format:.-----|
00000070  2d 2d 2d 2d 2d 2d 0a 3c  32 37 3e 20 3c 25 31 31  |------.<27> <%11|
00000080  30 30 30 30 30 30 3e 20  53 74 61 72 74 20 6c 69  |000000> Start li|
00000090  74 65 72 61 6c 20 65 73  63 61 70 65 20 73 65 71  |teral escape seq|
000000a0  75 65 6e 63 65 20 28 73  65 6e 64 20 63 6f 64 65  |uence (send code|
000000b0  73 20 64 69 72 65 63 74  20 74 6f 20 70 72 69 6e  |s direct to prin|
000000c0  74 65 72 29 0a 3c 32 37  3e 20 3c 30 3e 20 20 20  |ter).<27> <0>   |
000000d0  20 20 20 20 20 20 45 6e  64 20 6c 69 74 65 72 61  |      End litera|
000000e0  6c 20 65 73 63 61 70 65  20 73 65 71 75 65 6e 63  |l escape sequenc|
000000f0  65 0a 3c 32 37 3e 20 3c  25 31 30 66 65 64 63 62  |e.<27> <%10fedcb|
00000100  61 3e 20 61 20 3d 20 31  20 42 6f 6c 64 20 20 20  |a> a = 1 Bold   |
00000110  20 20 20 20 20 6f 6e 2c  20 61 20 3d 20 30 20 42  |     on, a = 0 B|
00000120  6f 6c 64 20 20 20 20 20  20 20 20 6f 66 66 0a 20  |old        off. |
00000130  20 20 20 20 20 20 20 20  20 20 20 20 20 20 20 20  |                |
00000140  62 20 3d 20 31 20 4c 69  67 68 74 20 20 20 20 20  |b = 1 Light     |
00000150  20 20 6f 6e 2c 20 62 20  3d 20 30 20 4c 69 67 68  |  on, b = 0 Ligh|
00000160  74 20 20 20 20 20 20 20  6f 66 66 0a 20 20 20 20  |t       off.    |
00000170  20 20 20 20 20 20 20 20  20 20 20 20 20 63 20 3d  |             c =|
00000180  20 31 20 49 74 61 6c 69  63 20 20 20 20 20 20 6f  | 1 Italic      o|
00000190  6e 2c 20 63 20 3d 20 30  20 49 74 61 6c 69 63 20  |n, c = 0 Italic |
000001a0  20 20 20 20 20 6f 66 66  0a 20 20 20 20 20 20 20  |     off.       |
000001b0  20 20 20 20 20 20 20 20  20 20 64 20 3d 20 31 20  |          d = 1 |
000001c0  55 6e 64 65 72 6c 69 6e  65 20 20 20 6f 6e 2c 20  |Underline   on, |
000001d0  64 20 3d 20 30 20 55 6e  64 65 72 6c 69 6e 65 20  |d = 0 Underline |
000001e0  20 20 6f 66 66 0a 20 20  20 20 20 20 20 20 20 20  |  off.          |
000001f0  20 20 20 20 20 20 20 65  20 3d 20 31 20 53 75 70  |       e = 1 Sup|
00000200  65 72 73 63 72 69 70 74  20 6f 6e 2c 20 65 20 3d  |erscript on, e =|
00000210  20 30 20 53 75 70 65 72  73 63 72 69 70 74 20 6f  | 0 Superscript o|
00000220  66 66 0a 20 20 20 20 20  20 20 20 20 20 20 20 20  |ff.             |
00000230  20 20 20 20 66 20 3d 20  31 20 53 75 62 73 63 72  |    f = 1 Subscr|
00000240  69 70 74 20 20 20 6f 6e  2c 20 66 20 3d 20 30 20  |ipt   on, f = 0 |
00000250  53 75 62 73 63 72 69 70  74 20 20 20 6f 66 66 0a  |Subscript   off.|
00000260