Hi Swapna,
i wish that there is no change in your source code happens, but for your reference please see
thsi code and match with yours, if its fine then i will sujjest you to uninstall your printer and then
install again, it should work.
IF PRIN = 'X'.
P_CONTROL_PARAMETERS-PREVIEW = ' '.
I_OUTPUT_OPTIONS-TDNOPRINT = ' '.
I_OUTPUT_OPTIONS-TDNOPREV = 'X'.
I_OUTPUT_OPTIONS-TDNEWID = 'X'.
I_OUTPUT_OPTIONS-TDIMMED = 'X'.
ELSEIF PRIV = 'X'.
P_CONTROL_PARAMETERS-PREVIEW = 'X'.
I_OUTPUT_OPTIONS-TDNOPRINT = 'X'.
P_CONTROL_PARAMETERS-NO_DIALOG = ''.
ENDIF.