<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">2014/1/3 Adrian Johnson <span dir="ltr"><<a href="mailto:ajohnson@redneon.com" target="_blank">ajohnson@redneon.com</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On 03/01/14 15:15, Ross Moore wrote:<br>
</div><div><div class="h5">> Hi Adrian,<br>
><br>
> On 03/01/2014, at 10:01 AM, Adrian Johnson wrote:<br>
><br>
>> Leonard,<br>
>> Do you have any idea why Adobe Distiller fails on the PS output? The PS<br>
>> files print fine on my Xerox printer which has Adobe PS.<br>
><br>
> The error occurs in the PostScript around lines <a href="tel:44378-44379" value="+14437844379">44378-44379</a>.<br>
> Comment out these 2 lines and the file will distill just fine.<br>
><br>
> The lines commented-out should look like:<br>
><br>
>>> % imagemask<br>
>>> % Gar8O!!3<."p5&6Mu*H<lMpm`s8T;%s*la!#Nl!cb6!e-!5&ILgA~><br>
><br>
> Of course this omits something on page 4.<br>
> It is the red arrow indicating where a signature is required.<br>
><br>
> This seems to have been added over the top of the underlying form,<br>
> using coding that looks a bit suspect to me.<br>
> viz.<br>
><br>
>>> 8 dict dup begin<br>
>>> /ImageType 1 def<br>
>>> /Width 24 def<br>
>>> /Height 15 def<br>
>>> /Interpolate false def<br>
>>> /BitsPerComponent 1 def<br>
>>> /Decode [ 1 0 ] def<br>
>>> /DataSource currentfile /ASCII85Decode filter /FlateDecode filter def<br>
>>> /Interpolate false def<br>
>>> /ImageMatrix [ 1 0 0 -1 0 15 ] def<br>
>>> end<br>
>>> imagemask<br>
>>> Gar8O!!3<."p5&6Mu*H<lMpm`s8T;%s*la!#Nl!cb6!e-!5&ILgA~><br>
><br>
> Firstly there are 9 entries being defined within the dictionary,<br>
> but then /Interpolate is given twice.<br>
><br>
> The /DataSource line looks quite wrong.<br>
> "DataSource must be a single file, procedure, or string"<br>
> --- PS Ref. Manual v3<br>
> so maybe this will do:<br>
> /DataSource {currentfile /ASCII85Decode filter /FlateDecode filter} def<br>
> but when testing the same /undefined error occurs with imagemask ,<br>
> which could indicate something wrong in the preceding dictionary.<br>
<br></div></div></blockquote><div><br></div><div>Ross, </div><div>thanks a lot for the detailed analysis. </div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div><div class="h5">
</div></div>I tried turning it into a procedure and it fails with ghostscript and my<br>
printer. It turns out it was correct. See example 4.26 on p311 of the PS<br>
Ref.<br>
<div class="im"><br></div></blockquote><div>Adrian, </div><div>I'm not sure I fully understand your answer. Do you think this PostScript code is actually correct?</div><div><br></div><div>2014/1/3 Leonard Rosenthol <span dir="ltr"><<a href="mailto:lrosenth@adobe.com" target="_blank">lrosenth@adobe.com</a>></span><br>
</div><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">>Ricoh says that if it cannot be read by Distiller, it won't be processed<br>
>by printers.<br>><br></div>Ricoh is just looking to place blame - this is simply false. Even more so<br>because all of our printer OEM's do a LOT of customization of the<br>technology that they receive in order to differentiate their products from<br>
each other.</blockquote></div><div><br></div><div>Leonard,</div><div>Thanks, I'm not looking to blame anyone, I'm just trying to file a bug report to a correct place. I'm still unsure if this is something wrong in the original PDF, or is it to be reported to poppler or cairo teams, or maybe Distiller is unable to process a piece of valid PostScript code. </div>
<div><br></div></div></div></div>