You may want to include workstates into page testing, before printing. In such way you ensure that a page is printed only if linked stories and/or images are in specific workstate.
Page.PageTest 2, 1+2+4+8+16+32+64+128+256+512+1024+2048, 18,22
The same test is available for Page.LayerTest.