Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

printer selection to print Z report

Former Member
0 Kudos

I have one classical report, At selection screen I want to have two Radio Button.

Based on redia Button selection report should print to A3 or A4 page.

What printer setting I need to do, what coding need to be done. Please reply

3 REPLIES 3

Former Member
0 Kudos

hi vishal,

take help of this......... u can change the parameters here.....

FORM SETUP_FORM_AND_PRINT_OPTIONS.

IF condition'.

V_OPTIONS-TDDEST = 'HPLC'.

V_OPTIONS-TDPRINTER = 'SAPWIN'.

ELSE.

V_OPTIONS-TDDEST = 'KPLC'.

V_OPTIONS-TDPRINTER = 'HPLJ1100'.

ENDIF.

  • IF sy-batch EQ 'X'.

  • v_options-tdnewid = sy-prnew .

  • ENDIF.

ENDFORM. " SETUP_FORM_AND_PRINT_OPTIONS

0 Kudos

Hi Manoj,

Please provide more information as still i am not sure how to achive this

Former Member
0 Kudos

I got solution, and closing the Question.

I asked BASIS person to Create one Output type and change/keep Format for A3 size paper.While creating output type he put some code to Output type.