Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!tornado.Berkeley.EDU!dankg From: dankg@tornado.Berkeley.EDU (Dan KoGai) Newsgroups: comp.sys.mac.misc Subject: Re: Generating standard postscript files from Mac? Summary: On UNIX, you can use macps Message-ID: <1990Jun6.152128.13847@agate.berkeley.edu> Date: 6 Jun 90 15:21:28 GMT References: <24647.266bc9ca@kuhub.cc.ukans.edu> Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: dankg@tornado.Berkeley.EDU (Dan KoGai) Organization: ucb Lines: 45 In article <24647.266bc9ca@kuhub.cc.ukans.edu> hemmat@kuhub.cc.ukans.edu writes: > I have tried holding down the "k" key after sending a file >to the laser-printer, and successfully generated a psc file. I then >tried to laser-print this file from an IBM PC, after transferring it >of course, using TOPS and was not successful at all. I have received >no error messages, no output, nothing what-so-ever. > > Is the Mac's generated postscript different from standard >postscript? and if it is, is there any way to convert one to another? >Any pointers/help will be appreciated. All I am trying to do is to >generate standard postscript files from Mac applications and be able >to send them to a laser printer via main-frames. >Thanks in advance. Mac PS files are dependent on LaserPrep file in your System Folder. LaserPrep is yet another PS file that extends PostScript on LaserPrinter so vannila Mac PS files won't print on Laser Printer just by sending it. On Unix environment, this can be done by an utility called macps. macps takes Mac PS files and converts it to pure PS and print it to stdout. It also comes with prepfix utility to convert LaserPrep file to Unix compatible. You can get a copy from sumex-aim.stanford.edu and it's at info-mac/unix. I think current version was 2.2. It requires editing Makefile (For LaserPrep file directory dependency) but that's it to make it. Once you correctly installed it, you can print Mac PS file by: macps mac.ps |lpr Or when you just want to convert it to vanilla ps, macps mac.ps > vanilla.ps More details on manpage. I'm not sure if it compiles on MS-Dos but I don't think it uses system-dependent library. I think it take a little fix on directory-related stuffs but here it goes--if your Tops network includes Unix host, that's all it takes. ---------------- ____ __ __ + Dan The "I grok therefore I am God" Man ||__||__| + E-mail: dankg@ocf.berkeley.edu ____| ______ + Voice: +1 415-549-6111 | |__|__| + USnail: 1730 Laloma Berkeley, CA 94709 U.S.A |___ |__|__| + |____|____ + "What's the biggest U.S. export to Japan?" \_| | + "Bullshit. It makes the best fertilizer for their rice"