RE: [jQuery] Re: Create PDF from js

2009-11-09 Thread Jeffrey Kretz
Can you do something like this: 1. General Java class that accepts a URL and converts it into a PDF. 2. Link on all pages that will fire the Java program passing its own url as a parameter. 3. Java program reads the contents of the url as HTML, parses it as PDF. 4. Outputs PDF stream back to brows

Re: [jQuery] Re: Create PDF from js

2009-11-09 Thread Logan Bailey
Why do you have to create the page. People can just click print, and then save as pdf? On Nov 9, 2009, at 9:30 AM, m.ugues wrote: The problem using server side option is that I have a web site with a lot of pages. For every page I need to generate a PDF; so I need to create a Java class for

RE: [jQuery] Re: Create PDF from js

2009-11-09 Thread Jeffrey Kretz
The jsPDF project, while interesting, has a long way to go. Their demo page at http://jspdf.googlecode.com/svn/trunk/examples/basic.htm Worked fine in Safari for iPhone and Safari for Windows, but broke in Chrome and Firefox 3. And no IE support at this time. Seems a bit tricky to use a produc