You could install cups-pdf then use any tool you like to print anything you like to the virtual pdf printer.