🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.postscript.programming
Article #143

EPSfile ioerror and pdfmark

#143
From: Karl
Date: Wed, 17 Dec 2008 02:01
91 lines
4460 bytes
I have an EPS file generated with Photoshop that we had used for over
a year without a problem. However recently as our volumes have gone up
we've started to get the following error:
%%[ Error: ioerror; OffendingCommand: pdfmark ]%%

Stack:
[{photoshop_metadata_stream}
(<?xpacket begin=3D"=EF=BB=BF" id=3D"W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x=3D"adobe:ns:meta/" x:xmptk=3D"3.1.1-111">
   <rdf:RDF xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Descripti...)]

(<?xpacket begin=3D"=EF=BB=BF" id=3D"W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x=3D"adobe:ns:meta/" x:xmptk=3D"3.1.1-111">
   <rdf:RDF xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Descripti...)
[{photoshop_metadata_stream}
(<?xpacket begin=3D"=EF=BB=BF" id=3D"W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x=3D"adobe:ns:meta/" x:xmptk=3D"3.1.1-111">
   <rdf:RDF xmlns:rdf=3D"http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Descripti...)]
-mark-


%%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
%%[ Warning: PostScript error. No PDF file produced. ] %%


I've made a much smaller postscript program that basically does a loop
of n times. In the loop I place the EPS file at the same place on the
page and call showpage. (code is at the bottom of message).

In Adobe Distiller 8 This works fine for 2038 iterations of this loop.
On the 2039th iteration it dies with the same error.

The same code works in ghostscript and PSAlter.

Does anybody have any suggestions how I should troubleshoot this or
work around it? This seems like a bug either in the Adobe RIP or the
original EPS file.

test strap program (not including EPS file):
% test harness to try a lot of copies of a logo page
% for inserting an eps
/BeginEPSF {
   %def % Prepare for EPS file
   /b4_Inc_state save def% Save state for cleanup
   /dict_count countdictstack def
   /op_count count 1 sub def % Count objects on op stack
   userdict begin % Make userdict current dict
   /showpage { } def % Redefine showpage to be null
   0 setgray 0 setlinecap
   1 setlinewidth 0 setlinejoin
   10 setmiterlimit [ ] 0 setdash newpath
   /languagelevel where % If level not equal to 1 then
   {
       pop languagelevel % set strokeadjust and
       1 ne % overprint to their defaults
       {
           false setstrokeadjust false setoverprint
       } if
   } if
}bind def

/EndEPSF { %def
	count op_count sub {pop} repeat
	% Clean up dict stack
	countdictstack dict_count sub {end} repeat
        b4_Inc_state restore
} bind def

/concatstrings
        { exch dup length 2 index length add string     % str2 str1
new
          dup dup 4 2 roll copy         % str2 new new new1
          length 4 -1 roll putinterval
        } bind def

/logodir (/temp/FindBatchBatches/pdfs/logos/) def
/EPS {logodir exch concatstrings (r) file cvx exec } bind def
/counter 1 def
16000 {
/privateY 72 def
/privateX 72 .5 mul def
/Helvetica findfont 72 scalefont setfont
72 1 mul 72 10 mul moveto
counter 10 string cvs show
/counter counter 1 add def
	BeginEPSF 72 72 translate 0 0 moveto (PC1074.eps) EPS EndEPSF
showpage
} repeat
Technical Details
Message-ID: <35b20c7d-11b3-44eb-9dde-5d32d818049f@o4g2000pra.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!o4g2000pra.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10c61a,c830984de6d9cf26,start
X-Google-Attributes: gid10c61a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!o4g2000pra.googlegroups.com!not-for-mail
From: Karl <bikefaster.karl@gmail.com>
Newsgroups: adobe.postscript.programming
Subject: EPSfile ioerror and pdfmark
Date: Tue, 16 Dec 2008 18:01:13 -0800 (PST)
Organization: http://groups.google.com
Lines: 91
Message-ID: <35b20c7d-11b3-44eb-9dde-5d32d818049f@o4g2000pra.googlegroups.com>
NNTP-Posting-Host: 71.174.109.78
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: posting.google.com 1229479274 26516 127.0.0.1 (17 Dec 2008 02:01:14 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 17 Dec 2008 02:01:14 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: o4g2000pra.googlegroups.com; posting-host=71.174.109.78; 
 posting-account=C6zGSQoAAADihr1lhITsUswuQTzqN2Zt
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; 
 Trident/4.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET
 CLR 3.0.04506; .NET CLR 3.5.21022; Zune 3.0),gzip(gfe),gzip(gfe)