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

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

[Octave-bug-tracker] [bug #41140] print fails to find ghostscript if it


From: Rik
Subject: [Octave-bug-tracker] [bug #41140] print fails to find ghostscript if it is located in a directory with spaces in the name
Date: Tue, 07 Jan 2014 19:31:16 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0

URL:
  <http://savannah.gnu.org/bugs/?41140>

                 Summary: print fails to find ghostscript if it is located in
a directory with spaces in the name
                 Project: GNU Octave
            Submitted by: rik5
            Submitted on: Tue 07 Jan 2014 11:31:16 AM PST
                Category: Plotting with OpenGL
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

This is only a problem for me on Windows XP, not Linux.  I did a default
install of ghostscript which, of course, puts installation in 'c:\\program
files' which has a space in the name.  When I try to print something it can't
find the ghostcript program.  The error message indicates that it didn't
process the name correctly.


'c:\program' is not recognized as an internal or external command,
operable program or batch file.


Octave appears to correctly wrap the print pipeline command in
__fltk_print__.m with double quotes, but for some reason they aren't respected
on Windows platforms.  I used a keyboard statement in __fltk_print__.m to see
the command that is generated before it is passed to drawnow() C++ code.  The
command looks correct. 

pipeline =
{
  [1,1] = "c:\program files\gs\gs9.09\bin\gswin32c.exe" -dQUIET -dNOPAUSE
-dBATCH -dSAFER -sDEVICE=p
dfwrite -dEmbedAllFonts=true -dOptimize=true -dEPSCrop -sPAPERSIZE=letter
-dFIXEDMEDIA -sOutputFile=
"junk.pdf" C:\DOCUME~1\Rik\LOCALS~1\Temp\oct-49.ps - & rm
C:\DOCUME~1\Rik\LOCALS~1\Temp\oct-49.ps
}


As a quick work around, I just installed to a path without spaces in the
name.





    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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