Chris, you are right about that; I was able to confirm it using XP's
Virtual DOS Console.
(Nice time saving option, by the way.)
That still leaves the question:
Where is the path-to-pdf-file filled in..?
For plot isn't following the ~temp path correctly
-----
jpath '~temp'
f:/documents and settings/admin/j701-user/temp
-----
while the GSView -e parameter is used, looking (in vain) for a file
named "documents" in the root of f:
From the Help file "/j701/addons/docs/help/jforc/graphics.htm" I gathered that
-----
.... pd 'pdf [filename width height]' creates a plot in PDF
format. filename defaults to ~temp\plot.pdf, .....
-----
Would anybody know whether this is done within the plot routine
itself, or in some cfg file (other than base.cfg) ..?
Martin
At 2014-04-01 07:57, you wrote:
I think -e used to mean "reuse any existing gsview session".
On Tue, Apr 1, 2014 at 3:37 PM, Martin Kreuzer <[email protected]> wrote:
> Bill, you are right on both counts:
> [1] double quotes not necessary (single quotes already taking care of the
> blanks within path).
> [2] "-e" obviously causing the error; plot working like a charm without it.
> Don't know anything about this parameter; found it there in base.cfg ...
> Thanks, Martin
>
>
> At 2014-04-01 07:22, you wrote:
>
>> I guess the double quotes are not needed but it may be the "-e" that
>> caused error. What is this "-e"? Can it be omitted? If not, try
>> another app such as acrobat reader.
>>
>> On Tue, Apr 1, 2014 at 3:00 PM, Martin Kreuzer <[email protected]>
>> wrote:
>> > When adding a pair of double quotes I get:
>> >
>> > -----
>> > ] v=. 5 % ~ i: 5
>> >
>> > _1 _0.8 _0.6 _0.4 _0.2 0 0.2 0.4 0.6 0.8 1
>> > load 'plot'
>> > plot v; v
>> > view pdf error:"d:/program files/ghostgum/gsview/gsview32.exe" -e
>> > f:/documents a
>> > nd settings/admin/j701-user/temp/plot.pdf
>> >
>> >
>> > The system cannot find the file specified.
>> > -----
>> >
>> > which might be alright for finding GSView but still leaves the path to
>> > plot.pdf in a somehow sorry state ...
>> > I haven't yet found where this parameter is filled in.
>> >
>> > Martin
>> >
>> >
>> > At 2014-04-01 06:28, you wrote:
>> >>
>> >> > It looks to me as if there are quotes missing so that both paths
>> aren't
>> >> interpreted correctly.
>> >>
>> >> OK, what happens when you put the paths in quotes?
>> >>
>> >> Chris
>> >>
>> >>
>> >> On Tue, Apr 1, 2014 at 2:18 PM, Martin Kreuzer <[email protected]>
>> >> wrote:
>> >>
>> >> > Greetings -
>> >> >
>> >> > Beg your pardon in case I didn't search thorougly enough.
>> >> >
>> >> > This is a from a J7 installation on a WinXP machine:
>> >> >
>> >> > -----
>> >> > ]v=. 5%~ i: 5
>> >> > _1 _0.8 _0.6 _0.4 _0.2 0 0.2 0.4 0.6 0.8 1
>> >> > load 'plot'
>> >> > plot v; v
>> >> > view pdf error:d:/program files/ghostgum/gsview/gsview32.exe -e
>> >> > f:/documents and
>> >> > settings/admin/j701-user/temp/plot.pdf
>> >> >
>> >> > The system cannot find the file specified.
>> >> >
>> >> > 9!:14 ''
>> >> > j701/2011-01-10/11:25
>> >> > -----
>> >> >
>> >> > The executable (gsview32.exe) is there; the graph (plot.pdf) is
>> there;
>> >> > when opened manually via GSView there's no problem at all.
>> >> > It looks to me as if there are quotes missing so that both paths
>> aren't
>> >> > interpreted correctly.
>> >> > However, these are the relevant (?) lines from
>> /system/config/base.cfg:
>> >> >
>> >> > -----
>> >> > EPSReader=: 'd:/program files/ghostgum/gsview/gsview32.exe -e'
>> >> > PDFReader=: 'd:/program files/ghostgum/gsview/gsview32.exe -e'
>> >> > -----
>> >> >
>> >> > Any hint appreciated.
>> >> >
>> >> > Martin
>> >> >
>> >> > ------------------------------------------------------------
>> ----------
>> >> > For information about J forums see http://www.jsoftware.com/
>> forums.htm
>> >> >
>> >> ----------------------------------------------------------------------
>> >> For information about J forums see http://www.jsoftware.com/forums.htm
>> >
>> >
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm