View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
Once you have obtained and digested the command line version of GhostScript, this is what you'll need to do:

1. Install a postscript printer driver on your web server and make that your default printer.
2. Generate a FoxPro report, using the REPORT command line to send the report to a temporary file with a unique filename (you may want to use SYS(3) or SYS(2015)). This file will contain the postscript commands necessary to generate the report.
3. Process the postscript file you just generated with GhostScript to create a PDF of the report. You'll want to give this a unique, temporary filename also.
4. Copy the PDF to a location where FoxWeb has access to it, then genrate an html document with FoxWeb that contains a link to the PDF.

Hope this technique is useful for you.

Rich Day

Sent by A Ridwan on 10/12/2001 09:09:02 PM:
Can you share the Ghostscript or point us to the URL where we can get the script. Appreciate it.

Sent by Richard Day on 10/10/2001 11:48:46 AM:
I have used an open source product called Ghostscript to have the web server create PDF's of output from FoxPro's report writer, then used FoxWeb to return an html document that contains a link to the PDF that was just created.

Rich Day

Sent by Cas Nuy on 10/10/2001 09:10:18 AM:
Can someone give me a hint on how to work with reports apart from just printing the HTML-page ?
I have been working a lot with List & Label, who in their latest version have included the .net functionality but I have not been able to get this to work with vfp7.

Thanks,

Cas