Is there anyway to automatically run javascript:window.print() when the page finishes loading?
javascript:window.print()
If what you want is to open a separate window from the web browser you can use this:
window.open(basePath + "Controller/Route/?ID=" + param, '_blank').print();