Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!mips!decwrl!adobe!heaven!heaven.woodside.ca.us From: glenn@heaven.woodside.ca.us (Glenn Reid) Newsgroups: comp.lang.postscript Subject: Re: How can I tell if a file is "postscript" Message-ID: <449@heaven.woodside.ca.us> Date: 6 Mar 91 18:02:08 GMT References: <1448@vidiot.UUCP> Sender: glenn@heaven.woodside.ca.us Lines: 20 In article <1448@vidiot.UUCP> brown@vidiot.UUCP (Vidiot) writes: > Not quite. The %! on the first line is required by the LaserWriter printers > and compatibles. It is NOT part of the definition for EPSF or EPSI. If that > special comment line is missing, the LaserWriter series printers will change > to Diablo emulation mode and the PostScript program will print out as a source > listing, i.e., the PostScript code will print as normal text and the program > will not run. Wow. Are you sure? This is certainly not the case with my LaserWriter II NTX (Version 47.0). I can appreciate that I don't have the newest or most wonderful LaserWriter, but I'd be surprised if recognition of %! were built into the printer itself. Are you sure it's not the print spooler that's recognizing %! and filtering it to text (lpr) mode? If you're running TranScript, TranScript does indeed do this at the spooling level. -- Glenn Reid RightBrain Software glenn@heaven.woodside.ca.us NeXT/PostScript developers ..{adobe,next}!heaven!glenn 415-851-1785 (fax 851-1470)