home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BeMA Communicate
/
BeMA_Communicae_13.diskimage
/
Communicae-accessories
/
communicae.ps
< prev
next >
Wrap
Text File
|
1992-10-20
|
4KB
|
93 lines
%% communicae.ps
%
% If you save the VT220 screen to a file and then print it on some
% other printer than a NeXT printer (or even to the NeXT printer if
% it is connected to a machine that has not run Communicae since
% it was last rebooted), the graphics characters will not be printed.
% To fix this, the contents of this file must be inserted where it
% says "Insert communicae.ps here".
% Version 1.3 of Communicae uses the NextStandardEncoding to print
% foreign letters. The font in use on the printer must also use this
% encoding for accented letters to print correctly. However, on non-NeXT
% printers many of the characters (such as fractions) are missing and
% cannot be printed without much more serious editing.
% This file may also be dumped to the laser printer once to allow you
% to print several screens without sending this header each time. This has
% the major advantage that the graphics set will not be thrown out of the
% cache each time. To make the header resident, uncomment the next line:
% serverdict begin 0 exitserver
/rect {4 -2 roll moveto 1 index 0 rlineto 0 exch rlineto
neg 0 rlineto closepath} bind def
/rectfill {gsave rect fill grestore} bind def
/rectclip {rect clip newpath} bind def
/selectfont {{exch findfont exch
dup type /integertype eq {scalefont}{makefont}ifelse
setfont} stopped pop} bind def
/DEC_Special_Graphics 10 dict dup begin
/FontType 3 def
/FontMatrix [1 12 div 0 0 1 12 div 0 0] def
/FontBBox [-8 -8 16 16] def
/Encoding 256 array def
0 1 255 {Encoding exch /.notdef put} for
Encoding 0 [/.notdef /errorbox /HT /FF /CR /LF /NL /VT
/lr /.notdef /.notdef /ur /ul /ll /cross /l9
/l7 /l5 /l3 /l1 /leftT /rightT /botT /topT /bar] putinterval
/CharProcs 23 dict def
CharProcs begin
/.notdef {} def
/errorbox
{11 12 scale /checkwidth 8 def /temp 12 def
/checkcounter 0 def /checkline 0 def
checkwidth temp true [checkwidth 0 0 temp 0 0] {
checkcounter 0 le {/checkline checkline 1 add def
/checkcounter checkwidth def
} if
checkline 1 and 0 ne {<AA>}{<55>} ifelse
/checkcounter checkcounter 8 sub def
} imagemask} bind def
/HT {1 11.5 moveto 1 7.5 lineto 1 9.5 moveto 6 9.5 lineto
6 11.5 moveto 6 7.5 lineto 5 6.5 moveto 10 6.5 lineto
7.5 6.5 moveto 7.5 2.5 lineto stroke} bind def
/FF {1 7.5 moveto 1 11.5 lineto 6 11.5 lineto 1 9.5 moveto 5 9.5 lineto
5 2.5 moveto 5 6.5 lineto 10 6.5 lineto 5 4.5 moveto 9 4.5 lineto
stroke} bind def
/CR {6 11.5 moveto 2 11.5 lineto 1 11 lineto 1 8 lineto
2 7.5 lineto 6 7.5 lineto 5 2.5 moveto 5 6.5 lineto
9 6.5 lineto 10 6 lineto 10 5 lineto 9 4.5 lineto 5 4.5 lineto
7 4.5 moveto 10 2.5 lineto stroke} bind def
/LF {1 11.5 moveto 1 7.5 lineto 6 7.5 lineto
5 2.5 moveto 5 6.5 lineto 10 6.5 lineto 5 4.5 moveto 9 4.5 lineto
stroke} bind def
/NL {1 7.5 moveto 1 11.5 lineto 6 7.5 lineto 6 11.5 lineto
5 6.5 moveto 5 2.5 lineto 10 2.5 lineto stroke} bind def
/VT {1 11.5 moveto 4 7 lineto 8 11.5 lineto 5 6.5 moveto 10 6.5 lineto
7.5 6.5 moveto 7.5 2.5 lineto stroke} bind def
/lr {0 6 moveto 6 6 lineto 6 12 lineto stroke} bind def
/ur {0 6 moveto 6 6 lineto 6 .001 lineto stroke} bind def
/ul {6 .001 moveto 6 6 lineto 11.999 6 lineto stroke} bind def
/ll {6 12 moveto 6 6 lineto 11.999 6 lineto stroke} bind def
/cross {0 6 moveto 11.999 6 lineto 6 .001 moveto 6 12 lineto stroke} bind def
/l9 {0 10.8 moveto 11.999 10.8 lineto stroke} bind def
/l7 {0 8.4 moveto 11.999 8.4 lineto stroke} bind def
/l5 {0 6.0 moveto 11.999 6.0 lineto stroke} bind def
/l3 {0 3.6 moveto 11.999 3.6 lineto stroke} bind def
/l1 {0 1.2 moveto 11.999 1.2 lineto stroke} bind def
/leftT {6 .001 moveto 6 12 lineto 6 6 moveto 11.999 6 lineto stroke} bind def
/rightT {6 .001 moveto 6 12 lineto 0 6 moveto 6 6 lineto stroke} bind def
/botT {0 6 moveto 11.999 6 lineto 6 6 moveto 6 12 lineto stroke} bind def
/topT {0 6 moveto 11.999 6 lineto 6 6 moveto 6 .001 lineto stroke} bind def
/bar {6 .001 moveto 6 12 lineto stroke} bind def
end
/BuildChar {
12.0 0.0 0.0 0.0 12.0 12.0 setcachedevice
1.0 setlinewidth true setstrokeadjust
exch begin Encoding exch get CharProcs exch get end exec
} bind def
end definefont pop