I am not sure if I got you correctly, but dynamic form printing is done using the condition tab for the window.
![]()
Provide the condition when the window should be printed in the condition tab. Only those windows for which condition is met will be output, thus enabling dynamic control.