When I click on Print link in chrome browser , a pop is opened which shows it as a PDF file and then on the right side there are printing options with save , print etc buttons . Now when I click the print button which is on Browser , this pop up opens and the execution just pauses and I am stuck .
This would help you. I have tried a sample run with W3 school print example.
This will not make the print action so that print dialog box will not be popped up.