Some printing devices brands support the Prescribe PDL (page description language), which can be used to set up special rules for additional modification of the printed output. For example, you can use Prescribe to add a custom header or footer to selected document pages or to the whole document.
In MyQ, these rules are part of the options available on the properties panels of print queues. For each queue, you can create custom rules by importing a text file with a set of Prescribe commands and selecting the part of the printed document the commands should be applied to.
Multiple rules can be defined for each queue.