x7680\tx8640\tx9600\f0\b0\i0\ulnone\fs24\fc0\cf0 Yap is an interactive PostScript previewer for people wishing to do some PostScript hacking. Yap lets you enter, edit, and execute PostScript code on the fly and allows you to read and write text files so the code can be used elsewhere. Yap is intended for experimenting with short, hand-created segments of PostScript and is pretty much useless for previewing page-oriented documents as it ignores all Encapsulated PostScript comments (such as
\f1 %%BoundingBox and %%Page
\f0 ).\
Yap is straightforward to use; open windows with the
\b Open
\b0 or
\b New
\b0 menu options; Select
\b Execute
\b0 to execute the contents of the selected window. There's only one output window, whose PostScript rendering area can be resized through the
\b Preferences
\b0 panel. PostScript errors are reported in the title bar of the output window; if there are no errors in the execution of your code then the execution time will be reported instead. \
If you change the font in a Yap window, the same font will be used for Yap windows used after that point. The font will also be written out to your defaults database to be used the next time you launch Yap.\
Yap can paste PostScript from the pasteboard; this can come in handy when debugging programs that write PostScript on the pasteboard. The
\b Paste
\b0 menu command will first check the pasteboard for PostScript data, then for text data.\
You can find some sample PostScript programs in the
\b /NextDeveloper/Examples/PostScript
\b0 directory. Load them in and check them out! \
Another directory that might be of interest is\
\b /NextDeveloper/Examples/AppKit/Yap
\b0 , which contains the source files for Yap. If interested, you may play with the source and create custom versions of the application.\