🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #183

Stripping EPS before injection into postscript file

#183
From: David_Behnke
Date: Thu, 11 Sep 2008 01:58
3 lines
1174 bytes
I'm currently parsing the windows binary format in 5.2 of the EPS 3.0 spec and scanning for %%BeginPreview ... %EndPreview to remove the previews and that's working fine.

I couldn't help noticing that the EPS file I got from Illustrator has a block of private data after the '%AI9_PrintingDataEnd' that's twice the size of the preceeding postscript. When I strip out everything after '%AI9_PrintingDataEnd' before injecting into my postscript, it seems to work just fine. Does anyone know whether this will work in the general case?
Technical Details
Message-ID: <59b6739e.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,a35110602d9c4bed,start
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: David_Behnke@adobeforums.com
Newsgroups: adobe.postscript.programming
Subject: Stripping EPS before injection into postscript file
Message-ID: <59b6739e.-1@webcrossing.la2eafNXanI>
Date: Wed, 10 Sep 2008 18:58:06 -0700
Lines: 10
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!tudelft.nl!txtfeed1.tudelft.nl!news4us.nl!webcrossing