Application Development and Automation 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: 
Read only

Generating printpreview with printprogram

Former Member
0 Likes
516

Hello,

I am starting a print program and fill the tables nast und tnapr before I call the printprogram. I want that the print is not conducted on the printer but just on a print preview. But I don't want to change the print program. Is it possible to set specific values in the nast or tnapr tables to generate a print preview or are there other options? Thanks.

Regards, Lars.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
494

Not sure that you can controll that at that level. The print program uses the function module OPEN_FORM. there is a parameter for this function module called DIALOG, if you set it to "X", then you will get a dialog box when the print program runs where you can click on print preview.

Regards,

Rich Heilman

3 REPLIES 3
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
495

Not sure that you can controll that at that level. The print program uses the function module OPEN_FORM. there is a parameter for this function module called DIALOG, if you set it to "X", then you will get a dialog box when the print program runs where you can click on print preview.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
494

Hi

What does PrintPreview mean for you?

The user usually choose if to print the document or see the preview.

You can set if print immediatly the document or place it in the spool.

Max

Message was edited by: max bianchi

Read only

Former Member
0 Likes
494

Hello,

Thanks for your help.

Regards, Lars.