on 02-23-2007 5:42 AM
hai to all,
how to bypass printer settings when we execute print program.i want the output of my form without giving output device name in printer settings.
Hi Ramesh,
Yes, You can do this by giving values to the IMPORT parameter of function module OPEN_FORM.
Give values to the OPTIONS parameter which is of kind ITCPO structure and set the values as follows.
ITCPO-TDNOPRINT = ' '. -> No printing from print preview
ITCPO-TDNOPREV = ' '. ->No print preview
ITCPO-TDPREVIEW = ' '. ->Print preview
These values supresses print settings.
Give this structure value to the IMPORT parameter (OPTIONS) of OPEN_FORM.
Thanks,
Vinay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
by using one function module get_print_parameter and passing the print parameters in the function module and running it in background you can attain this.
reward it with points.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
check options
TDNOPREV TDNOPREV CHAR 1 0 No print preview
and if u want to hard code printer name then make use of ITCPO of open_form.
Regards
prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
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.