I need someone to create a HTML page that will display the attached text file as a pdf using jsPDF. The creation must be only on the client side and cannot use any activeX controls.
This page will just be used as a proof of concept so it doesn't need any features. Simply copy and past the text and load it into a JavaScript array (no need to read the file) and then use jsPDF to display the text as a pdf file. Then add a print button at the bottom that will print the pdf pages.
Here are the specific requirements.
1. This must work correctly in IE6+
2. The text must be formatted to print correctly on an 8.5X11 inch piece of paper (standard letter size.) Please use the page numbers that are already in the text file as the page delimiter.
3. You must load all the text into an array at the top of the code. (This will help me later on.) Then use the array to create and position the fields.
4. No server side code can be used to generate the pdf.
5. The user must not be prompted for a security override. (No ActiveX control or anything related to it.)
6. Add a print button at the end that will display a standard print dialog when press. This button must not display on the printed copy.
7. You must only use jsPDF to create the pdf.
Please keep this as simple as possible for now. It is just a proof on concept to see if it will work for a project. Please message me if you have any questions.