octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #44186] print command gives incorrect postscri


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #44186] print command gives incorrect postscript file
Date: Mon, 16 Feb 2015 18:50:47 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #49, bug #44186 (project octave):

OK, nice.

For the 9.15 version I compiled, I see from "gs -h" that eps2write is in the
list but epswrite is not in the list.  For 8.71 I see epswrite, but no
eps2write.  So neither of those device names covers both cases, and yes we'll
have to condition on the ghostscript version.  If that info hasn't already
been determined somewhere in the source code, the following grabs the version
on my system:


>> [sout, vertext] = system('gs -v');
>> vername= 'Ghostscript ';
>> sscanf(vertext(strfind(vertext, vername) + length(vername):end), "%f", 1)
ans =  8.7100



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44186>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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