Thread View: adobe.postscript.programming
1 messages
1 total messages
Started by Karl
Wed, 17 Dec 2008 02:01
EPSfile ioerror and pdfmark
Author: Karl
Date: Wed, 17 Dec 2008 02:01
Date: Wed, 17 Dec 2008 02:01
91 lines
4460 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads