We have created a smartform for printing production orders.
The requirement is to have print preview displayed without any dialog box. From the print preview screen user can print the output.
Depending upon user selection, output should either be immediately printed ( timmed = 'X )
or sent to spool without printing . I understand this can be set by setting up parameter tdimmed in the ontrol structure to X or space.
Print preview is displayed properly but the probelm is when print is selected from the menu on preview screen ,the output is always printed immediately even if TDIMMED = '' in the control parameters passed to the smartform. Also, the spool request is immediately deleted after printing, even though TDDELETE is set to space.
How to prevent the spool from deleting and priting immediately ?
Thanks in advance!