I have a pdf form that has been converted to an Html5 form. In the conversion I dragged the print button to the form which generated this code:
xfa.host.print(1, "0", (xfa.host.numPages -1).toString(), 0, 0, 0, 0, 0);
The problem is that it doesn't do anything when clicked. It did work when it was a PDF form.