🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #1758

Re: Multiple %%EOF's??

#1758
From: Chris Lewis
Date: Thu, 13 Aug 1992 14:50
19 lines
1198 bytes
In article <1992Aug12.210018.5361@wuecl.wustl.edu> qarl@wuecl.wustl.edu (Karl Stiefvater) writes:
>I have a program (dvips) which generates PS code containing multiple "%%EOF"
>statments. (It does so when including EPS figures.)

>I have a printer filter (cap's papif) which looks for the first "%%EOF" as
>the end of input, and stops there.

>Who's at fault?

"papif".  "first EOF" is incorrect behaviour.  DSC nests using BeginDocument/EndDocument,
so an EOF in something like this should be ignored:
	
	%%BeginDocument: ...
	...
	%%EOF
	%%EndDocument
    
[Whether dvips is really emitting {Begin|End}/Document around EPS inclusions 
is something I don't know - go look.  Regardless, "first EOF" is wrong.]
Technical Details
Message-ID: <1992Aug13.145011.8992@bwdls61.bnr.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bwdls61!bwdlh118!clewis
References: <1992Aug12.210018.5361@wuecl.wustl.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!cs.utexas.edu!torn!cunews!nrcnet0!bnrgate!bwdls61!bwdlh118!clewis
From: clewis@bwdlh118.bnr.ca (Chris Lewis)
Subject: Re: Multiple %%EOF's??
Message-ID: <1992Aug13.145011.8992@bwdls61.bnr.ca>
Sender: usenet@bwdls61.bnr.ca (Use Net)
Nntp-Posting-Host: bwdlh118
Organization: Bell Northern Research
References: <1992Aug12.210018.5361@wuecl.wustl.edu>
Date: Thu, 13 Aug 1992 14:50:11 GMT
Lines: 19