For those of you who need to flatten an entire book. I wrote the following command line script. This script will make a 300 dpi JPG of every page of a book and then compile a new PDF with those JPGs. This is guaranteed to ensure no issues with embedded fonts, or transparencies, etc.
cscript PrepBook.vbs [YBID] FLAT
The SCRIPT
You can run the script on WORK-DEV and then the outputted file is created under E:\PREPPED_BOOKS
Happy Flattening!