#PostScript Niceties
2 messages in this thread
1) Most postscript printers allow you to abort the running procedure by
sending a Control-C to the printer. 2) To add a character to a font, you
need to create a new font following the "creating an analytic font" example
in the blue book. Before looking up the character proceedure to run, set the
font to the default font. Define all of the normal characters to be of the
form:
/A { (A) show }} bind def You can use any procedure you like for
the characters that you want to replace.
Mark,
Thanks for the info. I'm not sure that the control-C approach works. My
experience has been that the control-C is acknowledged by the postscript
printer only after the printer finishes its current task. You seem to know
more about it than me, however. Is there some sort of interrupt priority in
postscript? I know, for example, that the control-T (status) command seems
to generate an immediate response.
As for adding a new character, I would guess that the "bind def" for each
normal character would add to the processing time for characters in that
font. I had thought about using the analytic font example but was hoping
that there'd be an easier way. I'm sure that I'll have more questions (e.g.,
bounding box, metrics, who knows) as I mess around with this…
Best.