PostScript is an actively used text markup language created in 1982. PostScript (PS) is a page description language in the electronic publishing and desktop publishing business. It is a dynamically typed, concatenative programming language and was created at Adobe Systems by John Warnock, Charles Geschke, Doug Brotz, Ed Taft and Bill Paxton from 1982 to 1984.. Read more on Wikipedia...

37Years Old 520Users 2Jobs

Example code from the Hello World Collection:

% Hello World in Postscript
%!PS
/Palatino-Roman findfont
100 scalefont
setfont
100 100 moveto
(Hello World!) show
showpage

Example code from Linguist:

%!PS-Adobe-3.0
%%Creator: Aaron Puchert
%%Title: The Sierpinski triangle
%%Pages: 1
%%PageOrder: Ascend

%%BeginProlog
% PAGE SETTINGS
/pageset {
  28.3464566 28.3464566 scale    % set cm = 1
  0.5 0.5 translate
  0 setlinewidth
} def

% sierpinski(n) draws a sierpinski triangle of order n
/sierpinski {
dup 0 gt {
  [0.5 0 0 0.5 0 0] concat dup 1 sub sierpinski
  [1 0 0 1 1 0] concat dup 1 sub sierpinski
  [1 0 0 1 -1 1] concat dup 1 sub sierpinski
  [2 0 0 2 0 -1] concat
} {
  newpath
    0 0 moveto
    1 0 lineto
    0 1 lineto
  closepath
  fill
} ifelse pop} def
%%EndProlog

%%BeginSetup
<< /PageSize [596 843] >> setpagedevice  % A4
%%EndSetup

%%Page: Test 1
pageset
[20 0 10 300 sqrt 0 0] concat
9 sierpinski
showpage
%%EOF

Example code from Wikipedia:

/mm {360 mul 127 div} def
 0 0 moveto
 0 40 mm lineto stroke

Last updated August 22nd, 2019