on 02-08-2012 4:57 AM
Hi,
I had assigned smartform in driver program.when i execute program, after assigning o/p device(LP01), when i click on print, it is asking to select spool request check box, then it is printing layout. But i dont want to select it in foreground. After this if i want to cancel print, it is asking again output device.
Provide any solution....................
Thanks in advance
Hi friend,
You can set your output device type at the driver program itself. So it will not ask for an output type also you can hide the dialog box popup which shows the options for print and print previw, by setting few printer settings in program.
Here is a sample code to get a default device type and set it.
CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
EXPORTING
i_language = v_language
i_application = 'SAPDEFAULT'
IMPORTING
e_devtype = v_e_devtype
.
x_output_options-tdprinter = v_e_devtype.
x_control_parameters-no_dialog = 'X'.
Here no_dialog = 'X' so the pop up window will not be displayed.
Also possible check whether the printer settings are fine.
I think this will solve your issue. Please revert back to me if you face any issue. I will help you.
Thanks,
Sri Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why Dont you try ZLOCAL if it is not there tell Basis Team to create
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.