The ACE_WPDF sample shows how to interface with (and requires) 
the WP_PDF library from www.wptools.com.