On Thursday 27 September 2007 05:54:45 pm Stefan van der Walt wrote:
> Hi all,
>
> When trying to print a matplotlib-generated .eps file with CUPS, it
> aborts, complaining
>
> No %%Pages: comment in header!
>
> An easy workaround is to do
>
> eps2eps broken.eps fixed.eps
>
> but maybe the %%Pages directive should be included in the output?
According to the EPS specification
(http://partners.adobe.com/public/developer/en/ps/5002.EPSF_Spec.pdf), the
only required comments in the header are:
%!PS-Adobe-3.0 EPSF-3.0
%%BoundingBox: llx lly urx ury
I have never seen an error from CUPS due to a missing PAGES comment, what
version of cups are you using?
Darren