I recently tried to install Cups-PDF on macOS Sierra but it failed. However because macOS pretty much prints PDF native you just have to go fishing in /private/var/spool/cups and fish out the PDF data files and rename them and you have a copy of the file you want.

More information here: http://apple.stackexchange.com/questions/174841/saving-a-pending-print-job-as-pdf