By Jim Campbell
var doc = new jsPDF("pdffile.pdf");
Read the data in the PDF file. You use the "content" function available from the new "doc" object to read in content. Add the following code to extract data:
content = doc.output();
Print the results to the screen. To test that the function was a success, print out the extracted data using the following code:
Jaxer.response.addHeader('Content-Disposition', 'attachment; filename=pdffile.pdf');
Jim Campbell has been a computer engineer for over five years. He excels in hardware repair, computer programming and troubleshooting, and software design. He is currently attending Florida Atlantic University, pursuing a master's degree in computer and electrical engineering and fine-tuning his technical writing abilities.