I'm not sure if this is actually the answer to your question, since your question has very little information about what you mean by opening a new window.
If you are on page / page / and you want to open the link / report / page and automatically open the print dialog ... then it is as simple as launching window.print in the load event, for example
<body onload='window.print()'>
If you do not want this page to always open the print dialog, then create a link to the new page /report/page?print=1 or something like that when you want to print and when you find that in the URL onload address.
Kevin nelson
source share