Just call mycanvas.showPage() once page 1 is done -- this way, the rest of the output goes to page 2. See the docs.
mycanvas.showPage()