Alternating printing from different trays per page (carbon copy printing)
This example allows you to print alternating copies from different paper trays as you used to do when printing carbon copies in simplex mode.
Many users want copies to be printed alternately from different trays, as was the case with carbon copies, i.e.:
Page 1 Tray 1, Page 1 Tray 2, Page 2 Tray 1, Page 2 Tray 2....
This is currently not possible by conventional means, but with a small extension in version 188.8.131.52 there is a workaround ("AllowRecursion") that allows nested PrintMulti printers.
The example is based on the fact that there are two PrintMulti printers.
The first "PrintMulti Color" contains an action that creates a copy of each page. It is important that DrvCopies=1 is set. This causes PrintMulti to reprint the page and not rely on the printer driver.
The output is then the second PrintMulti printer "PrintMulti Color1".
This uses the modulo operator with the page number (which starts at 1, so one more is subtracted) to select alternating input bins.
You can of course create more than one copy in this way by adjusting some parameters.