Here is a tutorial about the CUPS filtering systems and how to add your own filters:
https://en.opensuse.org/SDB:Using_Your_Own_Filters_to_Print_with_CUPS
You could add a filter which applies to each incoming PostScript job that adds the desired PostScript code.
This filter then applies to all your CUPS queues, including driverless IPP printers where CUPS automatically creates a queue on-demand.