[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: |
ossands |
Subject: |
Re: problem with printing graphics to file Octave 3.6.4, manual install, windows |
Date: |
Sun, 14 Jul 2013 19:38:39 -0700 (PDT) |
Phil wrote
>
> Dmitri A. Sergatskov wrote
>> Bug in ghostscript 9.07. Downgrade to 9.06.
> I have the same issue that is described in this thread. Changing to
> ghostscript 9.06 does not help and the error is identical using 9.07 or
> 9.06.
>
> Following some of the other debugging advice in this thread, here's some
> text from the eps file that is generated when the error occurs. I noticed
> that the line "cleartomark...." seems to be inserted randomly into the
> line.
>
> However, the suggestion to try graphics_toolkit gnuplot did work for me.
> (And gnuplot works with both 9.06 and 9.07).
Changing graphics_tookit to gnuplot didn't help me.
I finally gave up on the mingw build of 3.6.4 and went to the Visual C
build. I followed the instructions for printing at
http://wiki.octave.org/Octave_for_Windows#Printing_.28installing_Ghostscript.29
There are a few small deviations from the instructions given on the page, as
described below:
My notes from the install
install GS 9.06 in spaceless path--i used c:\gs\gs9.06. I used 9.06 because
someone suggested that 9.07 has got problems.
add the bin subdirectory in gs to the windows path environment. TO do this
on windoth 7 you go: Control Panel->System->Advanced System Setting (on
panel to left)->Advanced (tab on popup that appears when you click Advanced
System Setting)->Environment Varialbes (button at bottom)->Select 'Path'
under the list of "System variables" and add the full path to the binary,
INCLUDING THE BIN SUBDIRECTORY to the end. Separate this with a semicolon
from the rest of the path. In my case this was 'C:\gs\gs9.06\bin'
Do the trick with adding gs_path to the path environment variable in you
.octaverc file. In my case I did:
cmd_path=getenv('path');
gs_path='C:\gs\gs9.06';
if (isempty (strfind(cmd_path,gs_path))),
setenv('path',strcat (cmd_path, pathsep (),gs_path));
endif
also added psedit to the path. Note, however, that this is a vestige from a
previous install and so it my not be relevant.
pstoedit_path='C:\Program Files (x86)\pstoedit';
if (isempty (strfind(cmd_path,pstoedit_path))),
setenv('path',strcat (cmd_path, pathsep (),pstoedit_path));
endif
--
View this message in context:
http://octave.1599824.n4.nabble.com/problem-with-printing-graphics-to-file-Octave-3-6-4-manual-install-windows-tp4653129p4655643.html
Sent from the Octave - General mailing list archive at Nabble.com.