Generating Postscript
The postscript operation generates postscript based on the contents of a canvas. One limitation to note is that embedded windows are not captured in the postscript output. Table 34-12 summarizes all the options for generating postscript:
-colormap varName | The index of varName is a named color, and the contents of each element is the postscript code to generate the RGB values for that color. |
-colormode mode | mode is one of color, grey, or mono. |
-file name | The file in which to write the postscript. If not specified, the postscript is returned as the result of the command. |
-fontmap varName | The index of varName is an X font name. Each element contains a list of two items: a postscript font name ... |
Get Practical Programming in Tcl & Tk, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.