🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #167

Re: Need an intelligent Ascii - PS Filter

#167
From: Carl J Lydick
Date: Sun, 02 Aug 1992 00:10
19 lines
1864 bytes
In article <3668@ecicrl.ocunix.on.ca>, clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
>While things that are DSC compliant will lead off with %!PS-Adobe-, you're
>being much too strict.  By convention, PostScript always starts with
>%!.  So if the file starts with %!, you can assume it to be PostScript.
>Regardless of whether the file claims to be DSC compliant or not.
>
>Almost all applications use this convention.  Though, there are some stupid
>broken ones.  Ie: WP apparently leads files with <control-D>%!.

Which is, in my opinion, a reasonable thing to do, as it's the only way to
guarantee that the previous PostScript program has ended before yours starts.
--------------------------------------------------------------------------------
Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL

Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
understanding of astronomy is purely at the amateur level (or below).  So
unless what I'm saying is directly related to VAX/VMS, don't hold me or my
organization responsible for it.  If it IS related to VAX/VMS, you can try to
hold me responsible for it, but my organization had nothing to do with it.
Technical Details
Message-ID: <1992Aug2.001052.23580@cco.caltech.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
References: <1992Jul31.121222.57722@cc.usu.edu> <1992Aug1.045437.1616@thunder.mcrcim.mcgill.edu>,<3668@ecicrl.ocunix.on.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!dtix!darwin.sura.net!mips!swrinde!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
Newsgroups: comp.lang.postscript
Subject: Re: Need an intelligent Ascii - PS Filter
Message-ID: <1992Aug2.001052.23580@cco.caltech.edu>
Date: 2 Aug 92 00:10:52 GMT
References: <1992Jul31.121222.57722@cc.usu.edu> <1992Aug1.045437.1616@thunder.mcrcim.mcgill.edu>,<3668@ecicrl.ocunix.on.ca>
Sender: news@cco.caltech.edu
Reply-To: carl@SOL1.GPS.CALTECH.EDU
Organization: HST Wide Field/Planetary Camera
Lines: 19
Nntp-Posting-Host: sol1.gps.caltech.edu