View Complete Thread | FoxWeb Forum Home
Search:
Date:    Msg ID:   
From:    Thread:   
Subject:   
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