Parallel printing of form

In normal circumstances, we will have a sequential rendering and printing of PDF forms by the Adobe Document Services. In this recipe, we will see how we can enable parallel printing through a small change in the code.

In the newer release, a special parameter has been added to the function module parameter FP_OPEN. It is recommended to set the PARALLEL parameter value to 'X' when there are more than thousand forms to be printed.

For having print request to be processed in parallel, the Adobe Document Services must be running on a Java Stack 7.2 or higher.

How to do it...

Follow these steps:

  1. First, we define a structure that is based on the dictionary structure SFPOUTPUTPARAMS.
  2. The PARALLEL field of the structure must be assigned the value of 'X'.
  3. Finally, the function module FP_JOB_OPEN is called. For simplicity sake, we have only shown the PARALLEL field assignment. For the changing parameter of the function module FP_JOB_OPEN, the structure MYOUTPUTPARAMS is passed.
    How to do it...

How it works...

When values 'X' is passed for the field PARALLEL, the ADS performs parallel printing of adobe forms. This involves usage of multiple processors for the rendering and printing of the generated forms. This parallel rendering significantly increase the performance particularly when the total number of forms to be processed are greater than 1000.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.145.202.61