cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe forms multiple print issue

0 Kudos

Hi All,

I am new to ADOBE forms and my development involves generating prints of the same form with different data on it in one go. Now everythign is working fine except for the print preview bit. I want to disable print preview and dialog. I have passed all necessary parameters for FP_JOB_OPEN  but that is not providing desired results. Could anyone please advice me on how to fix this issue?

Regards,

Renjith

Accepted Solutions (0)

Answers (3)

Answers (3)

SandySingh
Active Contributor
0 Kudos

This message was moderated.

SandySingh
Active Contributor
0 Kudos

Hello

You will have to set few fields from the Structure SFPOUTPUTPARAMS for Controlling the Spool Dialog

Use following code


    fp_outputparams-preview = 'X'."rb_prev.

    fp_outputparams-nodialog = ''.

    fp_outputparams-reqimm = 'X'.

    fp_outputparams-reqnew = 'X'.

   

CALL FUNCTION 'FP_JOB_OPEN'

      CHANGING

        ie_outputparams = fp_outputparams

      EXCEPTIONS

        cancel          = 1

        usage_error     = 2

        system_error    = 3

        internal_error  = 4

        OTHERS          = 5.

Refer to link below

Controlling the Spool Dialog - SAP Interactive Forms by Adobe - SAP Library

Regards

Sandy

gops249
Explorer
0 Kudos

Hello Renjith,

Please try the below code. It should work.

DATA : ls_params TYPE sfpoutputparams.


ls_params-dest = <dummy printer maintain in your table TSP03 like 'LP01'>.

ls_params-nopreview = 'X'.

ls_params-nodialog = 'X'.


CALL FUNCTION 'FP_JOB_OPEN'

CHANGING

     ie_outputparams = ls_params

EXCEPTIONS

     cancel = 1

     usage_error = 2

     system_error = 3

     internal_error = 4

     OTHERS = 5.


Reward point if it solve your issue.


Thanks and Regards,

Gopi

0 Kudos

I had tried this option. But it's not able to suppress the print preview or dialog. Another thing I noticed is that Spool entries are also not getting created even though I have provided the settings for that as well.

SandySingh
Active Contributor
0 Kudos

Hi Renjith,

Have you checked my previous post.

This issue could be due to printer settings.

Try to check SAP note 1630403 - Mass printing of Adobe documents



Hope it helps


Regards

Sandy