PS as one of the PDLs languages is thoroughly explained here. Along with it this page briefly answers the question "What is a PS document?"...working with: graphics state, path construction, painting, operand...files, resources. Examples of path construction and execution control...