on 04-02-2007 4:45 PM
Hi all,
While Printing Smartform we get a Pop-up created by SAPLPD Printer Program. Is there any way to hide this pop-up and print like can it be done as a Background process.
Let me know the process of doing this. All answers will be appreciated.
Thanks,
Prashanth
data: X_OUTPUT_OPTIONS TYPE SSFCOMPOP, "SAP Smart Forms: Smart
"Composer (transfer) options
X_CONTROL_PARAMS TYPE SSFCTRLOP,"Smart Forms: Control
X_OPTIONS TYPE ITCPO.
X_OUTPUT_OPTIONS-TDIMMED = 'X'. " Print Immediately
X_OPTIONS-TDIMMED = 'X'. " Print Immediately
X_CONTROL_PARAMS-PREVIEW = ' '. "Do not show Preview
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'Your Form name'
IMPORTING
FM_NAME = V_FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
IF SY-SUBRC = 0.
CALL FUNCTION V_FM_NAME
EXPORTING
ARCHIVE_PARAMETERS = X_ARC_PARAMS
CONTROL_PARAMETERS = X_CONTROL_PARAMS
OUTPUT_OPTIONS = X_OUTPUT_OPTIONS
USER_SETTINGS = ' '
TABLES
JOBTKT_TAB = ITAB
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
endif.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
I am able to hide the Print Preview that is been created but i need to hide/supress the Popup that we get once the document is sent to the printer which shows the status of printing.
Any solutions for this or can we print the smartform in the Background to avoid this. and can you explain me the process of printing the smartform in background.
Thanks,
Prashanth.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.