Hi Niketa,
I think that you can achieve this by having four lines of the
xfa.host.print command. The first variable is set to 1, which launches
the print dialogue, I think that this should be set to one in the
first line of text. This way the user can select the correct printer.
Then subsequent lines of script the first variable would be 0, so that
the remaining pages would print automatically.
If you amend the standard print javascript to this...
xfa.host.print(1, "0", "0", 1, 1, 0, 0, 0);
xfa.host.print(0, "0", "0", 1, 1, 0, 0, 0);
xfa.host.print(0, "0", "0", 1, 1, 0, 0, 0);
xfa.host.print(0, "0", (xfa.host.numPages -1).toString(), 1, 1, 0, 0,
0);
... hopefully that will work
Regards,
Niall