Is it possible to generate PDF Documents in an Adobe AIR application without resorting to a round trip web service for generating the PDF? I've looked at the initial Flex Reports on GoogleCode but it requires a round trip for generating the actual PDF.
Given that AIR is supposed to be the Desktop end for RIAs is there a way to accomplish this? I suspect I am overlooking something but my searches through the documentation don't reveal too much and given the target for AIR I can't believe that it's just something they didn't include.
Steps to print a PDF on a Mac.With the PDF open, click File and select Print or press Command+P. In the Print dialog that opens, make sure your printer is selected. You can view the PDF in the preview window and adjust your settings. Click Print.
The file might have downloaded incorrectly or incompletely the first time. Use another printer. If your printer is on a wired or wireless network, print the PDF file from a non-networked printer. Move the PDF file to your computer's hard drive, and then print again.
There's AlivePDF, which is a PDF generation library for ActionScript that should work, it was made just for the situation you describe.
Just added a Adobe Air + Javascript + AlivePDF demo:
This demo doesn't require flex and is pretty straight forward.
http://www.drybydesign.com/2010/02/26/adobe-air-alivepdf-without-flex/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With