Article 170117 of comp.os.vms:
In article <BARK.97May18010956@sofia-inner.ctrl-c.liu.se>, bark@bofh.se (EMACS RTA1) writes:
>I just found the XPDF-06 package, and installed the pre-compiled
>version on our VAX-VMS-cluster. 
>
>It works very good, but I want to make Netscape download a .pdf-file,
>start XPDF and display the file automatic.
>
>I tried to put this line in Netscape's Options, General Preferences,
>Helpers: 
>	MCR DEVICE:[PATH]XPDF.EXE
>
>(No, this is not my real path)

I do it this way:

1.  Define XPDF as a foreign symbol in SYLOGIN.COM, ie

    $ define xdpf_dir disk:[dir.xpdf]
    $ xpdf :== $xdpf_dir:xpdf

2.  In netscape navigatore/options/general preferences/helpers place the 
    line:

    application/pdf   xpdf %s

(I don't remember if you have to start and stop Navigator for this to take 
effect.)

Similarly, for postscript, I have:

    application/postscript view/interface=decwindows %s/form=ps

Just in case you aren't a C programmer, that %s is C formatting lingo for
"stick string in here".  It's a bit inelegant to have the application's
language roots protruding like this, but it does work. 

Regards,

David Mathog
mathog@seqaxp.bio.caltech.edu
Manager, sequence analysis facility, biology division, Caltech 
**************************************************************************
*Affordable VMS? See:  http://seqaxp.bio.caltech.edu:8000/www/pcvms.html *
**************************************************************************


