364
edits
No edit summary |
(→Printing (installing Ghostscript): explicitly mention that gs_path must be the same as the install destination directory.) |
||
Line 556: | Line 556: | ||
[http://sourceforge.net/projects/ghostscript/ sourceforge]. | [http://sourceforge.net/projects/ghostscript/ sourceforge]. | ||
The instructions below assume the GLP version of Ghostscript is installed | The instructions below assume the GLP version of Ghostscript is installed with | ||
the directory {{Codeline|<nowiki>C:\Program Files (x86)\GPLGS\</nowiki>}}. | the destination directory {{Codeline|<nowiki>C:\Program Files (x86)\GPLGS\</nowiki>}}. | ||
In order for Octave to find Ghostscript, its | In order for Octave to find Ghostscript, its destination directory used for the install must | ||
shell's path. This may be done by modifying the path variable via the Control | be in the command shell's path. This may be done by modifying the path variable via the | ||
Panel, or by having Octave modify the path variable. | Control Panel, or by having Octave modify the path variable to include the Destination | ||
directory. | |||
For the latter, to | For the latter, to following lines may be placed in the {{Codeline|<nowiki>~/.octaverc</nowiki>}} file. | ||
The variable {{Codeline|<nowiki>gs_path</nowiki>}} should be set to the Destination | |||
directory where Ghostscript was installed. | |||
cmd_path = getenv ("path"); | cmd_path = getenv ("path"); | ||
Line 577: | Line 580: | ||
* Click '''Environment Variables''' | * Click '''Environment Variables''' | ||
* In the '''System Variables''' area, locate the Path variable, highlight it and click '''Edit'''. | * In the '''System Variables''' area, locate the Path variable, highlight it and click '''Edit'''. | ||
* | * Add the Destination directory where Ghostscript is installed and confirm the change by clickiing '''OK''', '''OK''', '''OK'''. | ||
At this point most of Octave's printing functionality will work. When output is | At this point most of Octave's printing functionality will work. When output is |
edits