beispiel


 BACK ..

 Eine PS-Datei als Beispiel
 ==========================


 %!PS-Adobe 3.0

 %%% Kopf
 /Helvetica findfont
 10 scalefont setfont
 1 setlinewidth
 0 setgray


 %%% schwarzer Kasten
 newpath
 50 250 moveto
 300 0 rlineto
 0 30 rlineto
 -300 0 rlineto
 closepath
 stroke

 %%% Schrift
 newpath
 50 250 moveto
 10 10 rmoveto
 (Hallo Welt) show
 50 250 moveto
 closepath
 stroke


 %%% roter Kasten
 1 0 0 setrgbcolor
 newpath
 50 200 moveto
 300 0 rlineto
 0 30 rlineto
 -300 0 rlineto
 closepath
 stroke

 %%% Schrift
 newpath
 50 200 moveto
 10 10 rmoveto
 (rot) show
 50 250 moveto
 closepath
 stroke


 %%% gruener Kasten
 0 1 0 setrgbcolor
 newpath
 50 150 moveto
 300 0 rlineto
 0 30 rlineto
 -300 0 rlineto
 closepath
 stroke

 %%% Schrift
 newpath
 50 150 moveto
 10 10 rmoveto
 (gruen) show
 50 250 moveto
 closepath
 stroke


 %%% blauer Kasten
 0 0 1 setrgbcolor
 newpath
 50 100 moveto
 300 0 rlineto
 0 30 rlineto
 -300 0 rlineto
 closepath
 stroke

 %%% Schrift
 newpath
 50 100 moveto
 10 10 rmoveto
 (blau) show
 50 250 moveto
 closepath
 stroke


 %%% brauner Kasten
 .8 .5 .3 setrgbcolor
 newpath
 50 50 moveto
 300 0 rlineto
 0 30 rlineto
 -300 0 rlineto
 closepath
 stroke

 %%% Schrift
 newpath
 50 50 moveto
 10 10 rmoveto
 (braun) show
 50 250 moveto
 closepath
 stroke


   [IMG]