I have a print putton calling on another page which opens that html page.pops a print console and closes the page again on selecting an option.

function printABD()
window.focus(); //Hide the child as soon as it is opened.
child.print(); //Print the child.

This code works perfect on my machine.
when i tried this on someones laptop using teh same browser settings
the print button requires 1-2 or sometimes 3 clicks for teh second html page to pop up

also on selecting an option the page does not close itself always.

Im very confused at this issue. My code is almost set to be deployed and i do not understand if this could be the case with a lot of users using this.