Thanks in advance!!
It seems that it might be a 2-stop process:
1) Save the file out in PDF format with the SalReport function
2) Use a 3rd-party (or Adobe?) DLL, for example, that has functions to open a PDF, add a password that you pass to it, then save out the PDF file.
I looked in my TD code folder that I have kept for 20 years or more and see this note from Suren -- he was a Gupta support person many years ago -- that gives a hint on how to do this. You can also go to the old Gupta newsgroup here yourself and search for PDF related topics: viewforum.php?f=45
I'll add Suren's email reply from the newsgroup below on how to add a digital signature to a PDF file. Perhaps a similar method might work for you with adding a password. Note that this email is from 2004 and much has changed since then! In fact, the user who wrote is FR Bhote who is online here, I believe. In any event, here is what replied replied to FR then:
Subject: Re: Digitally Sign PDF documents
From: "Suren Behari"
Date: Mon, 1 Mar 2004 08:12:13 -0800
2) Use a third party product that is optimized to run in batch mode, like Appligent's SecureSign and Chilkat Software's S/MIME ActiveX Component.
Hope this helps,
"F R Bhote" wrote in message news:kfhlP7q%23DHA.2508@webserver...
Would appreciate if anyone could tell me a way to digitally sign PDF files directly without any user intervention. I need to sign about 1500 documents a day.
Palm Springs, California
TD info. & samples: http://www.jeffluther.net/TD/
Uwe van der Horst
Who is online
Users browsing this forum: [Ccbot] and 0 guests