system.print.createPrintJob multiple pages

is it possible to create a print job with multiple pages?

currently when i use this function it just takes the component such as my root container and squishes it into one page. if i set the parameter fitToPage to 0 it just print one page with a piece of the component. the function does not create other pages with the rest of the component.

Thank you,

Sorry, no, that function only handles 1 page right now. I imagine you could go directly against the Java apis (in Python) if you’d like multiple pages.