Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!husc6!lloyd!kent From: kent@lloyd.camex.uucp (Kent Borg) Newsgroups: comp.sys.mac.programmer Subject: Capturing ASCII PostScript programatically? Summary: How to do it? Message-ID: <377@lloyd.camex.uucp> Date: 13 Apr 89 01:40:47 GMT Reply-To: kent@lloyd.UUCP (Kent Borg) Organization: Camex, Inc., Boston, Mass USA Lines: 24 Though the question still comes up weekly, we all pretty much know how the *user* can get PostScript output sent to a file rather than the LaserWriter, but is there a way for a *program* to do it? Is there a way for a program to get Apple's LaserWriter driver to convert QuickDraw calls to a file of ASCII PostScript? I see about 4 ways: 1) find the hidden bit that tells the LaserWriter driver to do that (I hope, I hope...), 2) fake-out the driver with a synthetic LaserWriter--either in the same Mac, or in another machine on the net (sounds like a lot of work, but could even be Chooser-friendly), 3) pretend to be the user and do the command-K business (sounds terrible, but might not be *that* bad), and 4) write my own driver which does this (cheating--avoids the question, and too much work). Anybody think of any more? Any good ideas on how to do one of these? Thanks, Kent Borg kent@lloyd.uucp or ...!hscfvax!lloyd!kent