Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
05-23-2013, 10:50 PM #1
- Join Date
- Dec 2009
- Thanked 0 Times in 0 Posts
How set document properties e.g. Title, Author - for display in Win folder view?Code:
document.title = "Invoice 123";
I also need the user to be able to SAVE it as a pdf - to a Windows Folder with the 'Title', 'Author' and 'Comments' fields set - i.e. so that they display in the 'detail' view (and are therefore sortable by these attributes).
Ideally, I would like to create a custom property to store the 'Company' (the Invoice is being sent to) and to show this custom property/column in the folder view.
07-26-2013, 02:37 AM #2
- Join Date
- Jan 2013
- Sunnyvale, CA
- Thanked 4 Times in 4 Posts
Generally, the browser is decoupled from the operating system's file system to enforce security, so that mischievous webmasters don't access people's hard drives.
If you want to offer users a PDF invoice by email, you might want to use XSL-FO, and if you do then you will want to install an xsl parser on your server to do it. FOP is an open source (i.e. free-to-use) parser, but the XSL-FO learning curve might cost you. Other solutions exist as well, so you might want to research options and select the one that suits you best.