---
title: PostScript
slug: postscript
qid: 
snapshot: enwiki-001377551820
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1378326847
tags: [109365376, 20176031, 20248369, 20464047, 22907127, 22915575, 22944829, 23118434, 23418218, 23603337, 24043274, 24153116, 24745122, 24769763, 26085940, 26918712, 3469217, 34933827, 48127869, 51915991, 60231915, 96974246]
---

# PostScript

> [!note] Provenance
> Snapshot `enwiki-001377551820` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1378326847> · Licensed CC BY-SA 4.0

A postscript (P.S., PS., or PS) may be a sentence, a paragraph, or occasionally many paragraphs added, often hastily and incidentally, after the signature of a letter or (sometimes) the main body of an essay or book. For such longer works it may also be known as an afterword or subscription. The term comes from the Latin "post scriptum", an expression meaning "written after" (which may be interpreted in the sense of "that which comes after the writing").

PostScript (PS) is a page description language and dynamically typed, stack-based programming language. It is most commonly used in the electronic publishing and desktop publishing realm, but as a Turing complete programming language, it can be used for many other purposes as well. PostScript was created at Adobe Systems by John Warnock, Charles Geschke, Doug Brotz, Ed Taft and Bill Paxton from 1982 to 1984. The most recent version, PostScript 3, was released in 1997. %!PS /Courier % name the desired font 20 selectfont % choose the size in points and establish % the font as the current one 72 500 moveto % position the current point at % coordinates 72, 500 (the origin is at the % lower-left corner of the page) (Hello world!) show % paint the text in parentheses showpage % print all on the page or if the output device has a console %!PS (Hello world!) = 0 0 moveto 0 113.385827 rlineto stroke More readably and idiomatically, one might use the following equivalent, which demonstrates a simple procedure definition and the use of the mathematical operators mul and div : /cm {72 mul 2.54 div} def % 1 inch = 2.54 cm exactly 0 0 moveto 0 4 cm rlineto stroke (Technically, most printers have a construction-implied unprintable margin around the physical borders of the sheet, and the 0 0 coordinates are calibrated to its corner, so you might have to use a different starting point to actually see something.) Most implementations of PostScript use single-precision reals (24-bit mantissa), so it is not meaningful to use more than 9 decimal digits to specify a real number, and performing calculations may produce unacceptable round-off errors. ==External links== Computer History Museum: article about early development of PostScript
