Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #2712
| From | Martin Leese <please@see.Web.for.e-mail.INVALID> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: Postscript level 1 and DSC |
| Date | 2016-07-30 10:31 -0600 |
| Organization | A noiseless patient Spider |
| Message-ID | <nnikov$877$1@dont-email.me> (permalink) |
| References | <ab6aac65-7246-4a79-9fd9-2048041cd7eb@googlegroups.com> |
vincent.torri@gmail.com wrote:
> Hello
>
> I am parsing Postscript file to validate it. I first start with level 1. The specifications say that it is possible to have minimal conforming, that is :
>
> - some DSC comments are requested
> - the version identifier begins with the string '%!PS-Adobe-'
What specifications say this? I cannot find
it in the PostScript Language Reference
Manual (Third Edition), so assume this is in
the DSC specification. The Language Manual
does say:
"There is no requirement that a regular
page description conform to DSC, but it
is strongly recommended."
So, a PostScript document can be valid
PostScript yet totally ignore DSC.
> So it says only *begins with* this string, and not *is exactly* this string.
Right. I just looked at a few PostScript
files. They began with:
%!PS-Adobe-2.0
%!PS-Adobe-3.0 Query
%!PS-Adobe-3.0 Resource-FontSet
> My question is: is minimal conforming specified inside the postscript file in some way, or else should my parser be configured by the user to respect minimal conformance ?
I do not understood your question. Perhaps
you could explain what exactly you wish to
do (and why)? Do you wish to validate that
the PostScript file is valid PostScript, or
that it conforms to the DSC specification?
--
Regards,
Martin Leese
E-mail: please@see.Web.for.e-mail.INVALID
Web: http://members.tripod.com/martin_leese/
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Postscript level 1 and DSC vincent.torri@gmail.com - 2016-07-30 08:54 -0700
Re: Postscript level 1 and DSC Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-07-30 10:31 -0600
Re: Postscript level 1 and DSC vincent.torri@gmail.com - 2016-07-30 10:00 -0700
Re: Postscript level 1 and DSC luser droog <luser.droog@gmail.com> - 2016-07-30 16:06 -0700
Re: Postscript level 1 and DSC luser droog <luser.droog@gmail.com> - 2016-07-31 22:53 -0700
Re: Postscript level 1 and DSC rodd@panix.com (Rod Dorman) - 2016-08-01 19:56 +0000
Re: Postscript level 1 and DSC luser droog <luser.droog@gmail.com> - 2016-08-01 13:34 -0700
Re: Postscript level 1 and DSC Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-08-03 10:43 -0600
Re: Postscript level 1 and DSC vincent.torri@gmail.com - 2016-08-04 03:30 -0700
Re: Postscript level 1 and DSC Martin Leese <please@see.Web.for.e-mail.INVALID> - 2016-08-04 09:43 -0600
Re: Postscript level 1 and DSC vincent.torri@gmail.com - 2016-08-04 10:17 -0700
csiph-web