Determing the printer name dynamically
I need to print the invocie based on the site, the printer name is also determined based on the site. Could any one tell me how to change the printer name dynamically. Can it be passed as parameter to function module or is there any other way?
in the output_options parameter , u can pass the desired printer name in fiels- TDDEST and set USER_SETTINGS parameter as space.