Katana VentraIP

PostScript

PostScript (often abbreviated as 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.

For other uses, see Postscript (disambiguation).

Paradigm

1982 (1982)

PostScript 3 / 1997 (1997)

Dynamic, weak

application/postscript

com.adobe.postscript

printing file format

Use in printing[edit]

Before PostScript[edit]

Prior to the introduction of Interpress and PostScript, printers were designed to print character output given the text—typically in ASCII—as input. There were a number of technologies for this task, but most shared the property that the glyphs were physically difficult to change, as they were stamped onto typewriter keys, bands of metal, or optical plates.


This changed to some degree with the increasing popularity of dot matrix printers. The characters on these systems were drawn as a series of dots, as defined by a font table inside the printer. As they grew in sophistication, dot matrix printers started including several built-in fonts from which the user could select, and some models allowed users to upload their own custom glyphs into the printer.


Dot matrix printers also introduced the ability to print raster graphics. The graphics were interpreted by the computer and sent as a series of dots to the printer using a series of escape sequences. These printer control languages varied from printer to printer, requiring program authors to create numerous drivers.


Vector graphics printing was left to special-purpose devices, called plotters. Almost all plotters shared a common command language, HPGL, but were of limited use for anything other than printing graphics. In addition, they tended to be expensive and slow, and thus rare.

PostScript printing[edit]

Laser printers combine the best features of both printers and plotters. Like plotters, laser printers offer high quality line art, and like dot-matrix printers, they are able to generate pages of text and raster graphics. Unlike either printers or plotters, a laser printer makes it possible to position high-quality graphics and text on the same page. PostScript made it possible to fully exploit these characteristics by offering a single control language that could be used on any brand of printer.


PostScript went beyond the typical printer control language and was a complete programming language of its own. Many applications can transform a document into a PostScript program: the execution of which results in the original document. This program can be sent to an interpreter in a printer, which results in a printed document, or to one inside another application, which will display the document on-screen. Since the document-program is the same regardless of its destination, it is called device-independent.


PostScript is noteworthy for implementing on-the-fly rasterization in which everything, even text, is specified in terms of straight lines and cubic Bézier curves (previously found only in CAD applications), which allows arbitrary scaling, rotating and other transformations. When the PostScript program is interpreted, the interpreter converts these instructions into the dots needed to form the output. For this reason, PostScript interpreters are occasionally called PostScript raster image processors, or RIPs.

Portable Document Format[edit]

The PDF and PostScript share the same imaging model and both documents are mutually convertible to each other. Both documents produce the same result when printed. The difference between the PDF and PostScript is that the PDF lacks the general-purpose programming language framework of the PostScript language. A PDF document is a static data structure made for efficient access and embeds navigational information suitable for interactive viewing.[19]: 9 

Ghostscript

pstoedit

Zathura

List of software which can be used to render the PostScript documents:

(PostScript character set)

Adobe StandardEncoding

Computer font

Document Structuring Conventions

Encapsulated PostScript

LaTeX

(PPD)

PostScript Printer Description

(PCL)

Printer Command Language

Typeface

(February 1999) [1985]. PostScript Language Reference Manual (PDF) (1st printing, 3rd ed.). Addison-Wesley Publishing Company. ISBN 0-201-37922-8. Retrieved 2023-07-14. (NB. This book (PLR3) together with the Supplement (PDF), archived from the original (PDF) on 2016-03-05, retrieved 2006-04-29 is the de facto defining work on PostScript 3 and is informally called "red book" due to its red cover.)

Adobe Systems Incorporated

(1990) [1985]. PostScript Language Reference Manual (2nd ed.). Addison-Wesley Publishing Company. (NB. This edition (PLR2) covers PostScript Level 2 and also contains a description of Display PostScript, which is no longer discussed in the third edition.)

Adobe Systems Incorporated

(1985). PostScript Language Reference Manual (1st ed.). Addison-Wesley Publishing Company. (NB. This edition (PLR1) covers PostScript Level 1.)

Adobe Systems Incorporated

(1986) [1985]. Preface. PostScript Language Tutorial and Cookbook. By Adobe Systems Incorporated (27th printing, August 1998, 1st ed.). Addison Wesley Publishing Company. ISBN 0-201-10179-3. 9-780201-101799. Retrieved 2017-02-27. (NB. This introductory text is informally called "blue book" due to its blue cover.)

Geschke, Charles

. Adobe Systems. Archived from the original (Zip) on 2011-06-13. (NB. This book is informally called "green book" due to its green cover.)

PostScript language program design

(PDF), Adobe, archived from the original (PDF) on 2015-03-21 (NB. This book is informally called "black book" due to its black cover.)

The Type 1 Font Format

, Adobe, archived from the original on 2016-04-13 (NB. Official introductory comparison of PS, EPS vs. PDF.)

PostScript vs. PDF

, Tail recursive

A First Guide to PostScript

Casselman, William ‘Bill’. (PDF).[1]

Mathematical Illustrations: A Manual of Geometry and PostScript

Reid, Glenn (1990). (PDF). Colorado, USA: Addison-Wesley. (NB. A thorough tutorial available online courtesy of the author.)

Thinking in PostScript

Computer History Museum: article about early development of PostScript