If the actions are separated by two buttons, one for rendering pages and
the other for printing by 'xfa.host.print(1, "0", (xfa.host.numPages
-1).toString(), 0, 0, 0, 0, 0)', then all rendered pages got printed,
but if two actions are combined within one button, only 1st rendered
page is printed. However I solve the above case by using
app.execMenuItem(Print) instead of xfa.host.print, now all rendered
pages got printed.But if I print the pdf from Windows Explorer without
opening Acrobat applica...