AlivePDF is an open-source ActionScript 3 (Flash, Flex, AIR) PDF generation library. It allows you to generate PDF‘s on the client-side.

You can use AlivePDF with Flash, Flex and Adobe AIR applications. Some sample codes can be found here.

PDF Flash

There also few tutorials about using it with AIR and Flex here

WebResourcesDepot Feed