pdf on server

Started by edjack, April 23, 2020, 01:21:23 PM

Previous topic - Next topic

edjack

Trying to open a pdf file on a server connected through windx.

A simple command like: OPEN (1)"C:\data\file.pdf"   gets an error 12.

It may be trying to open on the local work station...

How do we force it to open on the server?

Ed Jack
Computerease

Mike King

Not certain what you are asking?

Are you trying to open/create a new PDF file on the server or just trying to open an existing PDF file on the server?
Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

edjack

Open and existing file on the server
Ed Jack
Computerease

edjack

If we use "SYSTEM_HELP FILE.pdf" will it try to open on the server or on the client.
Ed Jack
Computerease

Mike King

If the goal is open a PDF file that currently exists on the host server so you can view the contents then when running on WindX, you need to send a copy of the file to the workstation, then you can use SYSTEM_HELP to launch the default PDF viewer.

Now technically if the PDF file on the host is in a location on the server that can be directly accessed using a UNC, then you can just pass the UNC to the SYSTEM_HELP directive.

Mike King
President - BBSysco Consulting
eMail: mike.king@bbsysco.com

edjack

I was trying to avoid copying it to the local drive... But i think this will work best.
Thanks
Ed Jack
Computerease