Hi Raj,
first check if you have assigned form and program to output type or not? If not then do that through NACE transaction.
for print preview issue, in the driver program where the smart form is being called, you need to set the TDNOPREV (SSFCOMPOP) to SPACE and set PREVIEW, NO_DIALOG of SSFCTRLOP to 'X'. Then the system will throw the preview dialog box.
please check this link for more info. This might help you!
https://scn.sap.com/thread/111770
Reward if useful.