Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!lth.se!newsuser From: d89mb@efd.lth.se (Magnus Bodin) Newsgroups: comp.lang.postscript Subject: Re: How can I tell if a file is "postscript" Message-ID: <1991Mar4.075212.12828@lth.se> Date: 4 Mar 91 07:52:12 GMT References: <7647@uceng.UC.EDU> Sender: newsuser@lth.se (LTH network news server) Reply-To: d89mb@efd.lth.se (Magnus Bodin) Organization: Institute of Tychology, Sweden Lines: 17 A file to be accepted by a laser-writer must start with %! at the first line. Just testing that will do. But that depends on what you're gonna use the information for... But files not starting with '%!' won't be accepted by PostScript-printers as PostScript, at least not apple's... Takelr|, -- Magnus Bodin "Nec fasces, nec opes, Institute of Tychology, sola artis sceptra perennant" Box 5127, 220 05 Sweden (Tycho Brahe, Stj{rneborg 1584)