I installed PDFCreator v1.7.3 on my Win 7 box. I am running 4D v15
client/server. In 4D I want to programmatically set the destination folder and file name for pdf files. The code below works perfectly most of the time, but
intermittently the PDFCreator file-saving dialog appears. My code looks like
this:

$PDFFilePath_t:="(Full Path Here)"
PAGE SETUP([MyTable];"MyList")
SET CURRENT PRINTER(PDFCreator Printer name)
FORM SET OUTPUT([MyTable];"MyList")
SET PRINT OPTION("PDFOptions:UseAutosave";1)
SET PRINT OPTION("PDFOptions:UseAutosaveDirectory";1)
SET PRINT OPTION(Destination option;3;$PDFFilePath_t)
PRINT SELECTION([MyTable];*)
SET PRINT OPTION("PDFInfo:Reset standard options";0)

Any ideas how to fix this?
David
**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to