Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #2122

Re: The first line of PostScript programs

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.albasani.net!news.stack.nl!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!usenetcore.com!Xl.tags.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!local2.nntp.ams.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date Thu, 18 Dec 2014 07:33:11 -0600
From ken <ken@spamcop.net>
Newsgroups comp.lang.postscript
Subject Re: The first line of PostScript programs
Date Thu, 18 Dec 2014 13:32:09 -0000
Message-ID <MPG.2efce7b54fa65ce69898da@usenet.plus.net> (permalink)
References <3aa025db-52a4-4c51-a30e-212c88672407@googlegroups.com> <m6t2a6$hr9$1@reader1.panix.com> <b6fbeb62-31e7-4784-b46e-70c7be8e44f8@googlegroups.com>
Reply-To ken@spamcop.net
MIME-Version 1.0
Content-Type text/plain; charset="us-ascii"
Content-Transfer-Encoding 7bit
User-Agent MicroPlanet-Gravity/3.0.4
X-Antivirus avast! (VPS 141218-0, 18/12/2014), Outbound message
X-Antivirus-Status Clean
Lines 38
X-Usenet-Provider http://www.giganews.com
X-Trace sv3-cGrhFH/TuEZbrVa1Z4+8hVu3QvvQp6tjrCH+AM1zwu/M86fE0OrrfCPeIUHiFB+Z2n/pBA/Fiv1H2g0!lKUQlcb92qoZEKbcJcVqbbxvQIEP4qScKlrSySZacaxAsFXUCxKj0FU2wDz2WtIRcN8S8Ysx3wfn!CEStczLOqC4+XEU=
X-Abuse-and-DMCA-Info Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info Otherwise we will be unable to process your complaint properly
X-Postfilter 1.3.40
X-Original-Bytes 2836
Xref csiph.com comp.lang.postscript:2122

Show key headers only | View raw


In article <b6fbeb62-31e7-4784-b46e-70c7be8e44f8@googlegroups.com>, 
jdawiseman@gmail.com says...
> 
> Thank you. 
> 
> > It's bad form to claim that when it isn't conforming. 
> 
> I want to claim as much as possible of what is true, but definitely no more than that. 
> 
> 
> please, is there a published standard, or at least a published convention that functions as a standard? 

The PostScreipt Language Reference Manual has some information on page 
801 and 802:

"PostScript programs that have the notation %!PS-Adobe-3.0 as the first 
line of the file are considered to be regular page descriptions that 
conform to the document structuring conventions (DSC) version 3.0. See 
Adobe Technical Note #5001, PostScript Language Document Structuring 
Conventions Specification, for more information about DSC conformance 
and conventions. There is no requirement that a regular page description 
conform to DSC, but it is strongly recommended."

Other than that it is conventional to put %! as the first 2 bytes of a 
PostScript program, but it is not a requirement, nor is it documented 
anywhere, its simply that PostScript programmers generally do, even for 
non-DSC programs.

Some people put %!PS but that's not required either, it does allow you 
to differentiate PostScript and PDF though.

If you do put a full DSC line, then you should be sure that your program 
conforms to DSC (as already mentioned by Tod Dorman) as PostScript 
processors (as opposed to interpreters) may make assumptions about the 
content of the PostScript program if you say that it is DSC-compliant.


		Ken

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

The first line of PostScript programs jdaw1 <jdawiseman@gmail.com> - 2014-12-17 13:20 -0800
  Re: The first line of PostScript programs rodd@panix.com (Rod Dorman) - 2014-12-17 23:06 +0000
    Re: The first line of PostScript programs jdaw1 <jdawiseman@gmail.com> - 2014-12-18 05:13 -0800
      Re: The first line of PostScript programs ken <ken@spamcop.net> - 2014-12-18 13:32 +0000
        Re: The first line of PostScript programs jdaw1 <jdawiseman@gmail.com> - 2014-12-18 06:02 -0800
          Re: The first line of PostScript programs ken <ken@spamcop.net> - 2014-12-18 15:49 +0000
      Re: The first line of PostScript programs rodd@panix.com (Rod Dorman) - 2014-12-18 17:30 +0000
        Re: The first line of PostScript programs jdaw1 <jdawiseman@gmail.com> - 2014-12-18 13:00 -0800
          Re: The first line of PostScript programs "twenty-six@b-mint.net" <twenty-six@b-mint.net> - 2014-12-19 07:45 +0000
            Re: The first line of PostScript programs ken <ken@spamcop.net> - 2014-12-19 07:53 +0000
          Re: The first line of PostScript programs ken <ken@spamcop.net> - 2014-12-19 07:53 +0000

csiph-web