Date:  09/22/2003 05:55:56 AM Msg ID:  001634
From:  Fernando Medan Thread:  001630
Subject:  Re: report & pdf driver
thanks for your help!
Fernando Medan
Sent by FoxWeb Support on 09/19/2003 11:31:35 AM:
You need to use the TO FILE clause of the REPORT command.  The following example sets the printer driver to WIN2PDF, generates a temporary file name and prints the report to a file with this name:
 
SET PRINTER TO NAME "WIN2PDF"
TempFile = SYS(2023) + '\' + SYS(2015) + LTRIM(STR(Request.CurrentChannel)) + '.pdf'
REPORT FORM MyReport.frx NOCONSOLE TO FILE TempFile

FoxWeb Support Team
support@foxweb.com email

Sent by Fernando Medan on 09/19/2003 06:20:16 AM:
Hi !
If I run my VFP reports using Foxweb and pdf driver (win2pdf), I have not been able to supress the printing dialog window and I think that is what is causing the problem.
Anyone have a foxweb script sample to share?
Thanks.
Fernando Medan