Lotus Notes - Automatically export email to PDF on arrival - pdf

Is it possible with Lotus Notes 8.5 to write a program (assuming an Agent) that will automatically export the email as a PDF document where the name of the document will be the subject line of the email?
I am being told by our lovely IT people that this will take months worth of effort to investigate, test and implement.
Surely there is a function that could be called to do this?
Can anyone please point me in the direction of a tutorial or help doc etc that I can read so I can have some more information to speak more authoritatively with our IT guys.
My intention is then to hand this information to the Domino Design team to ask them to build the function (without taking months to do so). :-)
Thank you in advance for any help you can provide.

There is a third party application called PD4ML which allows you to export to PDF format. They also supply samples on how to do this in the Notes client.
http://www.pd4ml.com/lotus.htm
You would need to create an agent that runs on new mail arriving.
There is also some sample code on SearchDomino.
http://searchdomino.techtarget.com/tip/Converting-Lotus-Notes-Domino-Web-pages-to-PDF-files-with-a-Java-agent

Alternative option is also available, user can save Lotus Notes email to PDF format through third party Lotus Notes to PDF tool with 100% secure manner.
http://www.lotusnotestooutlookexpress.com/lotus-notes-export-email-to-pdf
you can read email conversion process and other useful detail of software in PDF format
http://www.lotusnotestoexchange.com/guide-for-lotus-notes-to-pdf-conversion.pdf

There's an "industry standard" tool to export Lotus Notes documents to PDF.
This tool is Swing PDF Converter.
Please check it out here: http://www.swingsoftware.com/pdf-converter/overview
Swing PDF Converter supports Lotus Notes format emails (RTF) and HTML - MIME email conversion to PDF.
There is also advanced support for pdf document naming, single document conversion, batch conversion, document archiving option and even support for automatic upload to document repositories such as MS Sharepoint, Alfresco, Filenet, etc..

Related

Redacting information in pdf programmatically

I would like some suggestions on how I can achieve this. While there is discussion on this topic, it is six years old and I am hoping there are SaaS solutions available today or easy way to do it.
I would like to run a program on tax-returns in pdf format that would remove or redact sensitive information from the pdf file such as Name, Address, SSN, and other PII, and generate a public copy of the tax return in pdf that is safe to share with others.
The source of the pdf can be a scanner or tax software. Is it there an easy way to accomplish this?
Thanks,
Dan
There is a SaaS based image storage and manipulation service called cloudinary (cloudinary.com) which has an add-on that may help to redact text, see: https://cloudinary.com/documentation/ocr_text_detection_and_extraction_addon
How are these files being presented? e.g. are the PDF files viewed on the web or via an application as images?
[i am not affiliated with cloudinary]

How to View a Google Spreadsheet Doc as a PDF

I would like to know if it's possible to view a Google Spreadsheet Doc as a PDF without first manually converting it as a PDF? I don't want to share a link directly to the spreadsheet, I want to share a link to a PDF version of it which ends up looking better (in Print View rather than Spreadsheet Document View)
I know I can Print > Save as PDF, then download to local machine, then upload and save somewhere on my server. But is there is a way to be able to view the spreadsheet as a PDF.
I have Google'd this and found nothing. The best I could come up with is the Google Document Viewer (https://docs.google.com/viewer) but that does not seem to give mt the option I am looking for. Further, I do not want to install any Chrome plugins, etc. because I want to be able to share a link to the PDF with people but not have to have them install a plugin to see the doc.
Unfortunately, what you are trying to do and the way you are trying to do it is not a capability within Google Docs. Sorry.
I think the best way is to use Google Drive API to write own script that will do this job. I mean:
You have a web server
Write a simple method in any web technology, such as PHP, Python, Java, C#, whatever you like and your server is able to serve. This method is connected to the google drive through it's API to your account, knows which spreadsheet to take care of and how to understand the columns. This spread should be parsed to HTML and with some popular tool (proper for your programming language or server's operating system) you create the PDF. The method should create HTTP response with header type: application/pdf.
You provide interested people with the link under which your method is available.
I guess this reference should help you to use Google API:
How to download the resources:
https://developers.google.com/drive/web/manage-downloads
How to convert (i.e. to PDF) and open the resources in your own application:
https://developers.google.com/drive/web/integrate-open#open_and_convert_google_docs_in_your_app
I hope this helps.

How to check if an email attachment has been opened

I am working on a study that sends people a PDF document with information about their health. The team would like to know if the person has actually opened the PDF document (a sign that they didn't just ignore the e-mail). I know that it'd be possible to do it with a link to an external file, but the users are much less likely to click on a URL and download it then they are to just view an attachment, and we don't want to do anything that might prevent the users from reading the information (we've already had people say they never received the message, and with further investigation they discovered they had, they had just ignored it).
Another option is to request a read report, but this is only useful if it doesn't annoy the user (ie it does it automatically when the email is opened instead of requesting them to send one). We're currently looking into this as well, but the ability to check if the attachment has been opened is a much better idea.
The email is generated in MS SQL and sent using the database mail system, and we have adobe acrobat pro, so creating scripts in pdfs is possible (although I'm not sure whether those scripts will be allowed to run).
Thanks
1) Dont include the PDF in the email, include a link to the PDF.
or
2) Include a javascript snippet in the PDF, which hits a per-user URL or includes IP address or something to track. This will only work if the user allows javascript, and if their pdf reader supports it.
See
http://ask.metafilter.com/153206/Is-it-possible-to-track-where-a-PDF-file-goes-once-in-the-wild
Since this was originally posted there has been a number of consumer tools that now let you track PDF's sent via a web link.
http://docsend.com , http://attach.io
and if you're sharing from Dropbox
http://orangedox.com
Much easier than having to script it yourself
At this time there are a number of tools available who offer attachment tracking service to their users. I am also using SalesHandy for attachment tracking and get the deep analysis of when & where your attachment is open.
Click to read more: https://www.saleshandy.com/document-tracking/

Tracking through PDF

I am exporting a document as a PDF. It is kept on a publicly accessibly website so that any users can download and read it. Now I want to track this. e.g. "How many times the PDF got opened."
Note that my question is not to track while I download, we need to track when the PDF is opened. Is there any kind of script that is invoked when the PDF is opened so that Adobe Acrobat Reader sends the details to my server?
These are the details I would like:
IP
Date/Time
Possbilly GEO Location.
Yes, you can probably do this. PDF includes a Javascript API, which some (but not all) PDF readers implement. I'm only certain of Acrobat and Foxit Reader doing this, and it can be turned off in both, for security and privacy reasons. That said, it's probably your best shot.
I glanced through the Javascript for Acrobat API Reference, and it looks like you could register for the "Page/Open" event (page 368 in my copy), and on receiving the first one of those, make a Net.HTTP call (page 548) to a web server you're running. That will get you the date/time and the public IP of the client reading the document, from which you can get a geolocation using a service like GeoIP.
I'm not sure this is possible. Although PDF can execute Javascript, reader software is naturally paranoid about malware being embedded in "benign" documents, so the execution context is quite restricted, with warnings shown about possible dangerous activity.
See previous SO question Can my PDF ping my server when it is opened?

How to process values entered into an interactive PDF form on the server?

A client is asking how to create an interactive PDF form with functionality that allows the values entered into the form to be processed on the server.
From what I've read, the best way to do this is to program the submission by embedding javascript into the PDF file via Acrobat, then writing code on the server side to handle the submission.
Does anyone have experience doing this sort of thing? Is the best way to do this indeed by using javascript in the pdf file and using that to post the form values to the server-side form processing method?
If you do that, is there any way to pass back values to the PDF file that the form processed successfully?
We have used the DynamicPDF viewer from ceTE software.
http://www.cete.com/
If the requirement is just to pull data out of PDF form fields, Javascript may not necessarily be required. Javascript can certainly be used with form fields to handle certain requirements (oftentimes auto-calculation and validation), but it might be overkill for just setting and getting data.
There are APIs that will set and get data from PDF form fields pretty easily. One toolkit that does so is EasyPDF SDK, which has a PDFDocument class designed for exactly this:
http://www.pdfonline.com/easypdf/epsdk_manual/index.htm?page=reference%2Fpdfdocumentsdk%2Fpdfdocument%2Fdescription.htm
Whether it will work for your needs will depend largely on whether the PDF has already been created or not. If it's already been created with fillable form fields, then EasyPDF SDK can be used to read data from the fields and insert data into them. But if you don't have the PDF template created yet, then you'd need Adobe tools like Acrobat Professional to do that first.
I will disclaim that I am part of the engineering team for EasyPDF SDK, so I have a vested interest in the tool. But it's nifty and easy to use, and is geared for server side deployment, so feel free to check it out at http://www.pdfonline.com if you feel so inclined. Hope this helps.