Thank you Clintonfor the reply.I have used the code, Pressing Ctrl+P is
giving the message but thereafter the Print Dialog box appears and
thereafter it prints the page as usual and not a blank page.I have used
the code as follows-topmostSubform::prePrint - (FormCalc, client)if (
topmostSubform.Page1.Name_of_the_Employee.isNull or
topmostSubform.Page1.PAN_of_the_employee.isNull )then this.presence =
"hidden" xfa.host.messageBox("This form does not allow printing of its
contents until all require...