Recently I was going through some CRM forums and found out that there is a way to open print preview via JavaScript as well.

Add following function and call it from wherever you want on form:

1. function PrintPreview() {

2.

3. window.open(Xrm.Page.context.getClientUrl() + “/_forms/print/print.aspx?allsubgridspages=false&formid=” +

4. Xrm.Page.ui.formSelector.getCurrentItem().getId() + “&id=” + Xrm.Page.data.entity.getId() +

5. “&objectType=” + Xrm.Page.context.getQueryStringParameters().etc);

6. }

Ask your Query : Click here

Hope it helps!