This should be a comment but I can't post those yet.  Using the built in "Save as PDF" dialog from the print menu works fine for me. Having code and knowing your OS X version, whether you're printing to an Adobe PDF module or using the system dialog, and what you're viewing it in would help to narrow down the issues.