SyntaxFix
Write A Post
Hire A Developer
Questions
This should work, I tried it by myself and it worked for me. If you pass True instead of false, the print dialog will appear.
this.print(false);