Article View: comp.lang.postscript
Article #4884Re: How can I tell if a file is "postscript"
From: Magnus Bodin
Date: Mon, 04 Mar 1991 07:52
Date: Mon, 04 Mar 1991 07:52
17 lines
1027 bytes
1027 bytes
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)
Technical Details
Message-ID:
<1991Mar4.075212.12828@lth.se>Path:
arc1-ca.pugleaf.net!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!newsuserReferences:
<7647@uceng.UC.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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