Article View: comp.lang.postscript
Article #169Re: Need an intelligent Ascii - PS Filter
From: Chris Lewis
Date: Sun, 02 Aug 1992 15:18
Date: Sun, 02 Aug 1992 15:18
19 lines
1549 bytes
1549 bytes
In article <1992Aug2.001052.23580@cco.caltech.edu> carl@SOL1.GPS.CALTECH.EDU writes: |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. A much better way is to fix the spooler to always emit the ^D at the end of jobs. Applications should *not* be generating ^Ds. -- Chris Lewis; clewis@ferret.ocunix.on.ca; Phone: Canada 613 832-0541 Psroff 3.0 info: psroff-request@ferret.ocunix.on.ca Ferret list: ferret-request@ferret.ocunix.on.ca
Technical Details
Message-ID:
<3669@ecicrl.ocunix.on.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!revcan!ecicrl!clewisReferences:
<1992Aug1.045437.1616@thunder.mcrcim.mcgill.edu> <3668@ecicrl.ocunix.on.ca> <1992Aug2.001052.23580@cco.caltech.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!torn!cunews!revcan!ecicrl!clewis From: clewis@ferret.ocunix.on.ca (Chris Lewis) Newsgroups: comp.lang.postscript Subject: Re: Need an intelligent Ascii - PS Filter Message-ID: <3669@ecicrl.ocunix.on.ca> Date: 2 Aug 92 15:18:14 GMT References: <1992Aug1.045437.1616@thunder.mcrcim.mcgill.edu> <3668@ecicrl.ocunix.on.ca> <1992Aug2.001052.23580@cco.caltech.edu> Organization: Elegant Communications Inc., Ottawa, Canada Lines: 19