SourceForge logo
SourceForge logo
Menu

matplotlib-devel

From: Stefan v. d. W. <st...@su...> - 2007年09月27日 22:00:06
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?
Regards
St=E9fan
From: Darren D. <dar...@co...> - 2007年11月02日 20:39:42
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
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /