on 04-08-2008 10:15 PM
Hi everybody,
Is there any program or function that displays list of printers and allows to select one of them in the list.
I am trying to display list of printers when i hit the print icon.
Thanks
Mamatha
Problem resolved.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
check the FM RSPO_LIST_PRINTERS
and give the import parameter as LETTER. U can get the list of printers available for your client. or Check TSP06A or TSP03 tables.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Naveen,
Thanks for ur reply.
Could you provide me with an example.
In my case i have coded my program in the below way for a singel printer.
FORM open_and_start_form .
pr_options-tddest = 'P009'.
pr_options-tdsuffix1 = 'PMAN'.
pr_options-tdsuffix2 = material_str-matnr.
pr_options-tdimmed = 'X'.
pr_options-tdlifetime = '2'.
pr_options-tdprogram = 'YPPPIMBRL_PRINT'.
call function 'OPEN_FORM'
exporting
device = 'PRINTER'
dialog = space
form = 'ZPPPI_BATCH-TICK'
language = SY-LANGU
options = pr_options
exceptions
canceled = 01
device = 02
form = 03
options = 04
unclosed = 05.
call function 'START_FORM'.
ENDFORM. " open_and_start_form
Appreciate your help.
Thanks
Mamatha
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.