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

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

[Octave-bug-tracker] [bug #31967] Cannot print in eps form in fltk print


From: Tatsuro MATSUOKA
Subject: [Octave-bug-tracker] [bug #31967] Cannot print in eps form in fltk printing
Date: Sat, 15 Jan 2011 09:26:22 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.237 Safari/534.10

Follow-up Comment #13, bug #31967 (project octave):

I have attached a patch and carried out tests.

**************************************
system('us')
backend('fltk')
fplot ("[cos(x), sin(x)]", [0, 2*pi]);
print test1.eps
print test2.eps -tiff
print test3.png
**************************************
Results are
octave.exe:6> print test1.eps
'-dQUIET' is not recognized as an internal or external command,
operable program or batch file.
error: set: invalid handle (= -29.0571)
error: called from:
error:  
c:usrTatsumingwhomeoctavesOctBuildoctave-develop....hgoctave-workscriptsplotprint.m
at line 377, column 9
octave.exe:6> print test2.eps -tiff
'-dQUIET' is not recognized as an internal or external command,
operable program or batch file.
Failed to open "C:/DOCUME~1/Tatsu/LOCALS~1/Tempoct-36.eps".
Run "epstool --help" for more details.
Could Not Find C:DOCUME~1TatsuLOCALS~1Tempoct-36.eps
error: set: invalid handle (= -29.8026)
error: called from:
error:  
c:usrTatsumingwhomeoctavesOctBuildoctave-develop....hgoctave-workscriptsplotprint.m
at line 377, column 9
octave.exe:6> print test3.png
*****************************************
png printing works correct.


I have carried out trace using 'dbstop' and 'dbstep'
The problem occured in __fltk_print__.m
*****************************************
152:     pid = popen (pipeline{n}, "w");
debug> dbstep
stopped in
c:usrTatsumingwhomeoctavesOctBuildoctave-develop....hgoctave-workscriptsplot__fltk_print__.m
at line 153
153:     if (pid < 0)
debug> '-dQUIET' is not recognized as an internal or external command,
operable program or batch file.

debug> pipeline{n}
ans =  -dQUIET -dNOPAUSE -dBATCH -dSAFER -sDEVICE=epswrite
-sOutputFile='test1.eps' -
*************************************
pipeline{n} seems failed to have gswin32c


BTW, I found in the comment in the patch 'gs.exe' but it is worked on the
Cygwin. For, native windows ghostscript it should be 'gswin32c'.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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