‎2008 Jun 26 7:45 PM
hi,
i want to send the script form to number of printers at a time.
i mean suppose there r 4 printers one main and remaining three sub one's.
i need to have printout from all the 4 printers at a time.
how can we achieve it.
pls help.
regards,
kb
‎2008 Jun 26 10:32 PM
To send output to multiple printers, you can configure a pool device type. A pool device type contain a list of SAP printers which the reports will be directed to.
Do this in transaction code SPAD for spool administration.
For example, in SPAD, type ZXXX next to the field 'Output devices',
u2022 Click the button Output devices.
u2022 In change mode, click the Create button.
u2022 Specify the Device type of your printer.
u2022 Click the tabstrips 'HostSpoolAccMethod'.
u2022 In the field "Host spool access method" set to "P: Device Pool".
u2022 Click the tabstrips 'DevicePool'
u2022 Click the options "Send to all devices in pool".
u2022 Type in the list of the SAP printers device you want the report to go to in this pool under the section 'Pool Device List'.
u2022 Now, when the users send a print to the new device for e.g. ZXXX, it will print to all the spool device you have specify.
Regards,
Joy.
‎2008 Jun 26 7:59 PM
Hi,
No. It is not possible.
The options in OPEN_FORM is just a single structure to enter the parameters in ITCPO.
You have to loop it and pass different printer names.
Regads,
Subramanian
‎2008 Jun 26 8:07 PM
Try writing a wrapper code to call the print program 4 times and use fm SET_PRINT_PARAMETERS to set the output device.This may work.
‎2008 Jun 26 10:32 PM
To send output to multiple printers, you can configure a pool device type. A pool device type contain a list of SAP printers which the reports will be directed to.
Do this in transaction code SPAD for spool administration.
For example, in SPAD, type ZXXX next to the field 'Output devices',
u2022 Click the button Output devices.
u2022 In change mode, click the Create button.
u2022 Specify the Device type of your printer.
u2022 Click the tabstrips 'HostSpoolAccMethod'.
u2022 In the field "Host spool access method" set to "P: Device Pool".
u2022 Click the tabstrips 'DevicePool'
u2022 Click the options "Send to all devices in pool".
u2022 Type in the list of the SAP printers device you want the report to go to in this pool under the section 'Pool Device List'.
u2022 Now, when the users send a print to the new device for e.g. ZXXX, it will print to all the spool device you have specify.
Regards,
Joy.
‎2008 Jun 27 4:11 PM
hi,
thank u soo much.
its really helpful.
once again thanks a lot.
‎2008 Jun 30 4:39 PM
hi,
i have a dbt.
where do i need to call this in open_form.
i mean where shd i have to mention in open_form abt calling of the printers/
pls help.
regards,
kb
‎2008 Jun 26 10:39 PM
Hi KB,
select * from TSP03
call function 'GET_PRINT_PARAMETERS'
EXPORTING
copies = 1
department = 'SYSTEM'
destination = 'LOCL'
expiration = 2
immediately = ' '
layout = 'X_65_255'
line_count = 65
line_size = 255
list_name = 'SPOOL ANME'
list_text = 'Spool Text'
mode = ' '
new_list_id = 'X'
no_dialog = 'X'
receiver = 'SAP*'
release = 'X'
sap_cover_page = 'X'
user = sy-uname
IMPORTING
out_parameters = l_params
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
others = 4.
endselect.Seleccting the printers from tsp03 and sending print to all printers using the above FM.
Edited by: Raj on Jun 27, 2008 3:10 AM