I have developed one report to send smartform copy to the printer without print preview. It is working fine. But print pop-up window is displaying. i mean.. as soon as report executes it will display user-interaction pop-up window. So, user press everytime OK button.
It seems this is windows print pop-up window. not SAP.
I would like to suppress this print pop-up window and smartform copy should send directly to the printer.
what should I do? Any configuration need to do? Pls help me.
Note: I am passsing NO_DIALOG = 'X' in the control parameters of the smartform function module.
T_CONTROL-PREVIEW = ' '.
T_CONTROL-NO_DIALOG = 'X'. "X no dialog
T_CONTROL-DEVICE = 'PRINTER'.
T_SSFCOMPOP-TDDEST = 'LOCL'.
T_SSFCOMPOP-TDNOPREV = 'X'. "X no print priv
T_SSFCOMPOP-TDDELETE = 'X'.
CALL FUNCTION FNAME
ARCHIVE_PARAMETERS = arc_params
CONTROL_PARAMETERS = T_CONTROL
MAIL_RECIPIENT = lvs_recipient
MAIL_SENDER = lvs_sender
OUTPUT_OPTIONS = T_SSFCOMPOP
USER_SETTINGS = ' '
ITEM_TAB = ITAB
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.