help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: problem with printing graphics to file Octave 3.6.4, manual install,


From: Ben Abbott
Subject: Re: problem with printing graphics to file Octave 3.6.4, manual install, windows
Date: Mon, 17 Jun 2013 03:33:48 +0000 (GMT)



On Jun 16, 2013, at 10:00 PM, ossands <address@hidden> wrote:

Yes. I've checked the eps file using emacs and there are no NaN, that I can
detect. Is there an ASCII code for NaN?

Tried to attach the eps file.

scott Sands

lkj.eps <http://octave.1599824.n4.nabble.com/file/n4654337/lkj.eps>

I tried to view the eps-file using ghostscript-9.06, and got the error below.

gs lkj.eps
GPL Ghostscript 9.06 (2012-08-08)
Copyright (C) 2012 Artifex Software, Inc.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
%%BoundingBox: 53 62 512 423
%%HiResBoundingBox: 53.599991 62.999998 511.800031 422.499995
>>showpage, press <return> to continue<<

Error: /undefined in S
Operand stack:

Execution stack:
   %interp_exit   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--   --nostringval--   --nostringval--   false   1   %stopped_push   1910   1   3   %oparray_pop   1909   1   3   %oparray_pop   --nostringval--   1893   1   3   %oparray_pop   1787   1   3   %oparray_pop   --nostringval--   %errorexec_pop   .runexec2   --nostringval--   --nostringval--   --nostringval--   2   %stopped_push   --nostringval--
Dictionary stack:
   --dict:1162/1684(ro)(G)--   --dict:0/20(G)--   --dict:83/200(L)--
Current allocation mode is local
Last OS error: No such file or directory
Current file position is 4378
GPL Ghostscript 9.06: Unrecoverable error, exit code 1

At the bottom of the file, I see ...

728 782 70 0 cleartomark end end pagesave restore
 showpage
%%PageTrailer
S
728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
%%Trailer
%%Pages: 1

The "S" is in the wrong place.  Something like below is closer to being correct.  The rendered result is still not correct (I've attached ikj.pdf), but there is no error.

728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
728 782 70 0 S
cleartomark end end pagesave restore
 showpage
%%PageTrailer
%%Trailer
%%Pages: 1

The eps-file contains two strokes that are duplicated several times.

728 782 70 0 S

and

728 782 4340 0 S

This is likely wrong, but I'm have no idea what is causing it.  Anyone else?

Ben 

Attachment: pdfV8hHQ81_1R.pdf
Description: Adobe PDF document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]