Article View: comp.lang.postscript
Article #4933Re: How can I tell if a file is "postscript"
From: Vidiot
Date: Thu, 07 Mar 1991 18:01
Date: Thu, 07 Mar 1991 18:01
27 lines
2018 bytes
2018 bytes
In article <449@heaven.woodside.ca.us> glenn@heaven.woodside.ca.us (Glenn Reid) writes:
<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.
Two of us looked at the TranScript spooler and neither of us saw anything that
the filters did that made it run enscript (or whatever) to turn text into
PostScript. So, that left the printer doing the work. But, if the printer
doesn't do the work, then what piece of TranScript is doing the work.
Sorry about the misleading info.
--
harvard\ att!nicmad\ spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot ucbvax!uwvax..........!astroatc!vidiot!brown
rutgers/ decvax!nicmad/ INTERNET:vidiot!brown%astroatc@spool.cs.wisc.edu
Technical Details
Message-ID:
<1460@vidiot.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!astroatc!vidiot!brownReferences:
<1448@vidiot.UUCP> <449@heaven.woodside.ca.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!astroatc!vidiot!brown From: brown@vidiot.UUCP (Vidiot) Newsgroups: comp.lang.postscript Subject: Re: How can I tell if a file is "postscript" Message-ID: <1460@vidiot.UUCP> Date: 7 Mar 91 18:01:25 GMT References: <1448@vidiot.UUCP> <449@heaven.woodside.ca.us> Reply-To: brown@vidiot.UUCP (Vidiot) Organization: Vidiot's Hangout Lines: 27