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

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

[Octave-bug-tracker] [bug #36076] Missing Ghostscript error - print func


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #36076] Missing Ghostscript error - print function
Date: Wed, 04 Apr 2012 17:42:31 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6

Follow-up Comment #1, bug #36076 (project octave):

"I did install Ghostscript and added it to my Path" - did you add the
subdirectory gs\gs<version>\bin to the path or just gs\gs<version>?
(the former is needed)

Just check the actual path in Octave with the command:

strplit (getenv ("PATH"), ";")

For example, what I get is (look at last entry [1,9]):


octave-3.6.1.exe:1> strsplit (getenv ("PATH"), ";")
ans =
{
  [1,1] = C:\Programs\Octave\Octave-3.6.1_MSVC2008
  [1,2] = C:\Programs\MiKTeX 2.9\miktex\bin
  [1,3] = C:\WINDOWS\system32
  [1,4] = C:\WINDOWS
  [1,5] = C:\WINDOWS\System32\Wbem
  [1,6] = C:\Programs\Java\jdk1.6.0_25\bin
  [1,7] = C:\Programs\TortoiseSVN\bin
  [1,8] = C:\WINDOWS\system32\WindowsPowerShell\v1.0
  [1,9] = C:\Programs\gs\gs9.04\bin
:


FWIW, I usually copy the file gswin32c.exe to gs.exe as I suspect that Octave
actually looks for a file called gs.exe


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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