Example places a printer queue in buffer 19. Then, if the spool file page is a rental or a lease, as determined using the Print If function, the printer queue is replaced with another printer queue in buffer 19. Using the Dynamic Distributed printing function, buffer 19 is used for the outq parameter when the page is printed. This example also uses the sorting capability of the Dynamic Distributed printing function to group all page ones, all pages twos, and so on, for printing.
download