FYI: How I dissected the CUPS filtering see "A filter that sends its input into a file for debugging" at https://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS