PostScript
The language
PostScript Language Reference, third edition, Adobe Systems, 1999.
License: a published manual.
How ztk uses it: canvas postscript writes paths, strokes, fills, rectfill, the standard fonts, and the ISOLatin1Encoding of Level 2, as the manual gives them. The procedures in the prolog of the page are ztk's own.
Encapsulated PostScript and the comments
Document Structuring Conventions Specification, version 3.0 (Technical Note 5001), and Encapsulated PostScript File Format Specification, version 3.0 (Technical Note 5002), Adobe Systems.
License: published specifications.
How ztk uses it: the header of the page (%!PS-Adobe-3.0 EPSF-3.0, %%BoundingBox, %%Orientation, %%DocumentNeededResources, and the others) and the order of the prolog, the page, and the trailer.
Tk
The options of canvas postscript, the place of the area on the page, and the messages follow the manual page of canvas and runs of wish 8.6.16 (see Tk). A run of wish printed its prolog once in a test of the errors, and the prolog of ztk uses no procedure or structure of it.