howard@mtunj.ATT.COM (H. Moskovitz) (08/10/87)
Once again, I'd like to thank all of the people who helped me with my Postscript problems. To summarize, I wanted a way to capture the PS output of applications like MacWrite, download the PS code to my work computer (a Vax running Sys V) and print it out on a spooled LW connected to one of our systems. The procedure that developed is as follows: 1) Capture the PS into a file on Mac. This is done by selecting a print dialog as if you were going to print to a LW on Appletalk. Click the 'GO' button and IMMEDIATELY HOLD the command(apple)-F key until the message "Saving Postscript(TM) File..." appears. The PS code is dumped into a file called Postscript0 (or0-9). This code is missing the Apple Laser Prep file (which is ~30K). 2) Download the PS code to your host via your favorite file transfer program. I use Kermit. 3) Prepend the Laser Prep file to PS you downloaded. I received a nifty little shell that looks at a line in your PS file and determines which version of the Laser Prep file you need and prepends it. I received copies of the appropriate prep files as well. 4) If on UNIX, you should run your file through a utility that filters unprintable characters and converts them to ASCII hex codes that LW can read. This avoids problems that the 'lp' system has. I got the filter to do that. 5) Send the results to the LW via your spooling facility. We have a program called psa here that sends raw PS to the LW. However, it is part of a larger spooling system that was developed here. There is another PS spooling package running around on the net for UNIX. (if you want it I could point you in the right direction). -- ----------------------------------------------------------- Howard Moskovitz AT&T Bell Labs @ Liberty Corner, NJ ihnp4!io!howard