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: 

How to Enable the Printer ICON in Smart forms

Former Member
0 Kudos

Dear All,

I have a smart form for Invoice, but the printericon is disabled by default.

How to Enable this.

Help is highly appriciated.

Thanks in Advance

Arun

3 REPLIES 3

Former Member
0 Kudos

Hi,

Search this code in your prog

output_options-TDNOPRINT = 'X'.

and disable it.

or else give me your full code or explain more about your prog.

If,it helps please reward points.

Thanks

Regards,

Nandha..

Former Member
0 Kudos

Dear Nanda Kumar,

I have copied a standard smartform of invoice into Z smartform& standard Program into Z pgm.

I have done necessary changes in pgm as well as in SF to format as per our client's requirment.

one thing i observed is, even if i use standard outputtype then also the printer icon is not enabled.

Thanks in Advance.

Regards

Arun

0 Kudos

hi,,

try this out.. not sure though.. set

L_CONTROL_PARS-PREVIEW = 'X'.

L_CONTROL_PARS-NO_DIALOG = 'X'.

L_CONTROL_PARS-NO_OPEN = 'X'.

L_CONTROL_PARS-NO_CLOSE = 'X'.

APPEND L_CONTROL_PARS.

L_OUTPUT_OPTIONS-TDIMMED = 'X'.

L_OUTPUT_OPTIONS-TDDEST = 'LOCL'.

L_OUTPUT_OPTIONS-TDARMOD = '1'.

" Print only disabling Archiving

APPEND L_OUTPUT_OPTIONS.

and pass these in the call function.

let me know if this is not working

Regards,

Pradhiba

Message was edited by: Pradhiba Velumani