NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: terryd on March 14, 2011, 10:04:41 PM
-
I want to print a 1 or 2 page report to PDF and then email copies to various addresses after which I will delete (or save) the pdf file.
I would appreciate any help as to how to trap and save this file before Nettalk deletes it.
-
In the report procedure search for the line;
loc:pdfname = '.\$$$' & format(random(1,99999),@n05) &'.pdf'
(search for $$$, the rest of the line may be slightly different).
This sets the name of the PDF being saved. The leading $$$ is the magic that makes it auto-delete.
So if you embed just below the line to some name without $$$ then you'll have control over the file.
cheers
Bruce
-
Thanks Bruce
I knew about the $$$ (mentioned in your book) but I didn't know what was the best place to fiddle with the filename.