I have done the tests of my previous comment with the attached file and printing this way works, meaning that both evince and Ghostscript re-generate the PDF file for printing, so that a static file is sent.
A point of improvement for cups-filters would be here to let pdftopdf somehow recognize that the incoming PDF has non-static content and if so, running it through some Ghostscript/Poppler/MuPDF command line utility for flattening the file into a completely static one.
I have done the tests of my previous comment with the attached file and printing this way works, meaning that both evince and Ghostscript re-generate the PDF file for printing, so that a static file is sent.
A point of improvement for cups-filters would be here to let pdftopdf somehow recognize that the incoming PDF has non-static content and if so, running it through some Ghostscript/ Poppler/ MuPDF command line utility for flattening the file into a completely static one.