Home » Archimedes archive » Zipped Apps » Impression Publisher » !Publisher/Resources/ps/SepCode1

!Publisher/Resources/ps/SepCode1

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 » Zipped Apps » Impression Publisher
Filename: !Publisher/Resources/ps/SepCode1
Read OK:
File size: 0175 bytes
Load address: 0000
Exec address: 0000
File contents
/SPdict1 4 dict def
SPdict1 begin
/RepC { 255. div 3 1 roll 255. div 3 1 roll 255. div 3 1 roll
setrgbcolor } bind def
/C { 3 copy 1 index eq 3 1 roll eq and
{ pop pop systemdict begin 255. div setgray end }
{ RepC } ifelse } def
/setrgbcolor
{ 3 copy 1 index eq 3 1 roll eq and
{ pop pop systemdict begin setgray end }
{ systemdict begin setrgbcolor end }
ifelse } def
end
00000000  2f 53 50 64 69 63 74 31  20 34 20 64 69 63 74 20  |/SPdict1 4 dict |
00000010  64 65 66 0a 53 50 64 69  63 74 31 20 62 65 67 69  |def.SPdict1 begi|
00000020  6e 0a 2f 52 65 70 43 20  7b 20 32 35 35 2e 20 64  |n./RepC { 255. d|
00000030  69 76 20 33 20 31 20 72  6f 6c 6c 20 32 35 35 2e  |iv 3 1 roll 255.|
00000040  20 64 69 76 20 33 20 31  20 72 6f 6c 6c 20 32 35  | div 3 1 roll 25|
00000050  35 2e 20 64 69 76 20 33  20 31 20 72 6f 6c 6c 0a  |5. div 3 1 roll.|
00000060  73 65 74 72 67 62 63 6f  6c 6f 72 20 7d 20 62 69  |setrgbcolor } bi|
00000070  6e 64 20 64 65 66 0a 2f  43 20 7b 20 33 20 63 6f  |nd def./C { 3 co|
00000080  70 79 20 31 20 69 6e 64  65 78 20 65 71 20 33 20  |py 1 index eq 3 |
00000090  31 20 72 6f 6c 6c 20 65  71 20 61 6e 64 0a 7b 20  |1 roll eq and.{ |
000000a0  70 6f 70 20 70 6f 70 20  73 79 73 74 65 6d 64 69  |pop pop systemdi|
000000b0  63 74 20 62 65 67 69 6e  20 32 35 35 2e 20 64 69  |ct begin 255. di|
000000c0  76 20 73 65 74 67 72 61  79 20 65 6e 64 20 7d 0a  |v setgray end }.|
000000d0  7b 20 52 65 70 43 20 7d  20 69 66 65 6c 73 65 20  |{ RepC } ifelse |
000000e0  7d 20 64 65 66 0a 2f 73  65 74 72 67 62 63 6f 6c  |} def./setrgbcol|
000000f0  6f 72 0a 7b 20 33 20 63  6f 70 79 20 31 20 69 6e  |or.{ 3 copy 1 in|
00000100  64 65 78 20 65 71 20 33  20 31 20 72 6f 6c 6c 20  |dex eq 3 1 roll |
00000110  65 71 20 61 6e 64 0a 7b  20 70 6f 70 20 70 6f 70  |eq and.{ pop pop|
00000120  20 73 79 73 74 65 6d 64  69 63 74 20 62 65 67 69  | systemdict begi|
00000130  6e 20 73 65 74 67 72 61  79 20 65 6e 64 20 7d 0a  |n setgray end }.|
00000140  7b 20 73 79 73 74 65 6d  64 69 63 74 20 62 65 67  |{ systemdict beg|
00000150  69 6e 20 73 65 74 72 67  62 63 6f 6c 6f 72 20 65  |in setrgbcolor e|
00000160  6e 64 20 7d 0a 69 66 65  6c 73 65 20 7d 20 64 65  |nd }.ifelse } de|
00000170  66 0a 65 6e 64                                    |f.end|
00000175