Programming Books

Excellent Free Books to Learn PostScript

PostScript is an interpreted, stack-based language similar to Forth but with strong dynamic typing, data structures inspired by those found in Lisp, scoped memory and, since language level 2, garbage collection.

The language syntax uses reverse Polish notation, which makes the order of operations unambiguous, but reading a program requires some practice.

PostScript is a Turing-complete programming language, belonging to the concatenative group. This means that any program you can write in any programming language, you can write in PostScript (albeit it will be slower).

PostScript files are (generally) plain text files and as such they can easily be generated by hand or as the output of user written programs. As with most programming languages, postscript files (programs) are intended to be, at least partially, human-readable.

Here’s our recommended free books to learn PostScript.

1. Mathematical Illustrations by Bill Casselman

Mathematical IllustrationsMathematical Illustrations shows the reader how to use PostScript for producing mathematical graphics, at several levels of sophistication. It includes also some discussion of the mathematics involved in computer graphics as well as a few remarks about good style in mathematical illustration.

The early chapters (1, 3–6) offer an introduction to basic features of the language. Chapters 2 and 12 offer accounts of coordinate geometry in 2D and 3D. Chapters 7–10 explore more sophisticated features of PostScript in 2D, as well as how mathematics and graphics algorithms interact in interesting ways. The remaining chapters explore three dimensions, using a library of PostScript procedures designed for the purpose.

Read the book

2. Postscript Language Reference (Third Edition) by Adobe Systems

PostScript Language ReferenceThe PostScript Language Reference, known as the Red Book, is the complete and authoritative reference manual for the PostScript language. Prepared by Adobe Systems Incorporated, the creators and stewards of the PostScript standard, it documents the syntax and semantics of the language, the Adobe imaging model, and the effects of the graphics operators.

This Third Edition has been updated to include LanguageLevel 3 extensions, which unify a number of previous extensions and introduce many new features, such as high-fidelity color, support for masked images, and smooth shading capabilities.

Read the book

3. Taking Advantage of PostScript

Taking Advantage of PostScriptTaking Advantage of PostScript is divided into four major parts.

Chapters 2–7 of this book introduce some basic PostScript concepts and drawing techniques. Chapter 4 shows how these simple programs can be saved as EPS files to be used within other programs. Most of the simple beginning programs are more easily drawn in a variety of graphics software programs, but they are the building blocks to the more complicated programming techniques that come in later chapters.

Chapters 8–17 cover advanced PostScript techniques that unleash the power of the PostScript Page Description Language. Much of what is covered here cannot be accomplished in available graphics software. Chapter 17 covers some advanced programming techniques and takes several designs step by step and explains how and why they were written as they are. Chapter 18 touches on some of the new features of PostScript Level 2.

Chapters 19 and 20 of this book are libraries of numerous examples of PostScript programs that can be the starting point for new designs. They generally concentrate on one visual idea or programming technique. Chapter 21 is a gallery of images.The final section of the book contains several reference appendixes.

Read the book

4. A First Guide to PostScript by Peter Weingartner

First Guide to PostScript

A First Guide to PostScript is a simple introduction to programming in the PostScript page description language from Adobe. This document is not meant to be a comprehensive reference manual (although it does contain an index of some of PostScript’s standard operators and a list of various errors). This is meant as an easily accessible on-line tutorial. It was written with the assumption that you have some experience programming and are familiar with concepts like arrays and variables.

The new version is published under the Creative Commons Attribution-NonCommercial-ShareAlike 2.5 License.

Read the book

All books in this series:

Free Programming Books
AdaALGOL-like programming language, extended from Pascal and other languages
AgdaDependently typed functional language based on intuitionistic Type Theory
ArduinoInexpensive, flexible, open source microcontroller platform
AssemblyAs close to writing machine code without writing in pure hexadecimal
AwkVersatile language designed for pattern scanning and processing language
BashShell and command language; popular both as a shell and a scripting language
BASICBeginner’s All-purpose Symbolic Instruction Code
CGeneral-purpose, procedural, portable, high-level language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
ClojureDialect of the Lisp programming language
ClojureScriptCompiler for Clojure that targets JavaScript
COBOLCommon Business-Oriented Language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
CoqDependently typed language similar to Agda, Idris, F* and others
CrystalGeneral-purpose, concurrent, multi-paradigm, object-oriented language
CSSCSS (Cascading Style Sheets) specifies a web page’s appearance
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized language for fast apps on multiple platforms
DylanMulti-paradigm language supporting functional and object-oriented coding
ECMAScriptBest known as the language embedded in web browsers
EiffelObject-oriented language designed by Bertrand Meyer
ElixirRelatively new functional language running on the Erlang virtual machine
ErlangGeneral-purpose, concurrent, declarative, functional language
F#Uses functional, imperative, and object-oriented programming methods
FactorDynamic stack-based programming language
ForthImperative stack-based programming language
FortranThe first high-level language, using the first compiler
GoCompiled, statically typed programming language
GroovyPowerful, optionally typed and dynamic language
HaskellStandardized, general-purpose, polymorphically, statically typed language
HTMLHyperText Markup Language
IconWide variety of features for processing and presenting symbolic data
JArray programming language based primarily on APL
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
JavaScriptInterpreted, prototype-based, scripting language
JuliaHigh-level, high-performance language for technical computing
KotlinMore modern version of Java
LabVIEWDesigned to enable domain experts to build power systems quickly
LaTeXProfessional document preparation system and document markup language
LispUnique features - excellent to study programming constructs
LogoDialect of Lisp that features interactivity, modularity, extensibility
LuaDesigned as an embeddable scripting language
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
Objective-CObject-oriented language that adds Smalltalk-style messaging to C
OCamlThe main implementation of the Caml language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
PHPPHP has been at the helm of the web for many years
PostScriptInterpreted, stack-based and Turing complete language
PrologA general purpose, declarative, logic programming language
PureScriptSmall strongly, statically typed language compiling to JavaScript
PythonGeneral-purpose, structured, powerful language
QMLHierarchical declarative language for user interface layout - JSON-like syntax
RDe facto standard among statisticians and data analysts
RacketGeneral-purpose, object-oriented, multi-paradigm, functional language
RakuMember of the Perl family of programming languages
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
RustIdeal for systems, embedded, and other performance critical code
ScalaModern, object-functional, multi-paradigm, Java-based language
SchemeA general-purpose, functional language descended from Lisp and Algol
ScratchVisual programming language designed for 8-16 year-old children
SQLAccess and manipulate data held in a relational database management system
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
SwiftPowerful and intuitive general-purpose programming language
TclDynamic language based on concepts of Lisp, C, and Unix shells
TeXMarkup and programming language - create professional quality typeset text
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ValaObject-oriented language, syntactically similar to C#
VHDLHardware description language used in electronic design automation
VimLPowerful scripting language of the Vim editor
XMLRules for defining semantic tags describing structure ad meaning
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.