cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent! Multiple PDF FORM printing

Former Member
0 Kudos

How to make PDF form print multiple times depending on the amount of lines in the interface table?

For example, as Import we get the table with 5 lines (positions of a document). So we need to print same pdf forms 5 times (data printed will be changing according to the positions data)

how to make it?

help please!!!

Accepted Solutions (1)

Accepted Solutions (1)

former_member214651
Active Contributor
0 Kudos

Hi Julia,

The Parent Subform should contain only the header part (i.e Column Headers). i.e. all the Static Contents

and the actual repeating data should be inside ur Child Subform. Since u have set the Subform as Repeat Sunform Property in the Child Subform that automatically adds rows dynamically in the form.

Follow the Hierarchy :-

--> Top Most Subform (Type - Flow Layout, Flow Direction - Western Text)

-


> All the Table Headers

-


> Parent Subform (Type - Flow Layout, Flow Direction - Table, Allow Page Breaks within Content (checked))

-


> Child Subform (Type - Flow Layout, Flow Direction - Table Row, repeat Subform for each data item (checked), Minimum Count - 1)

-


> All the Table Row Elements.

Hope u are clear with this now,

Regards,

Poojith MV <b></b>

Answers (4)

Answers (4)

former_member214651
Active Contributor
0 Kudos

Hi Julia,

The Parent Subform should contain only the header part (i.e Column Headers). i.e. all the Static Contents

and the actual repeating data should be inside ur Child Subform. Since u have set the Subform as Repeat Sunform Property in the Child Subform that automatically adds rows dynamically in the form.

Follow the Hierarchy :-

--> <b>Top Most Subform (Type - Flow Layout, Flow Direction - Western Text)</b>

-- All the Table Headers

-- <b>Parent Subform (Type - Flow Layout, Flow Direction - Table, Allow Page Breaks within Content (checked))</b>

-- <b>Child Subform (Type - Flow Layout, Flow Direction - Table Row, repeat Subform for each data item (checked), Minimum Count - 1)</b>

-- All the Table Row Elements.

Hope u are clear with this now,

Regards,

Poojith MV

Former Member
0 Kudos

Thank you very much.

It works now, but there's one small problem. I cant get rid of the last blank page, which appears after all the data has been printed out.

In the Adobe version i use there's no attribute "TYPE" for Subform. So I set "Go to next page" in the attribute "AFTER". And i did everything u said as well.

Evrything is printed correctly but i get the blank(empty) page in the end.

How can i solve it?

i really appreciate your help.

Former Member
0 Kudos

Is your bodypage subform exeeding the size of the content area within your masterpage?

Former Member
0 Kudos

I have another question then.

Should both of these subforms(parent and child) be the same (with the same content)??

I dont understand how it will work. what should be in the parent subform?

If i get the import table with a few items. and according to items content i should fill out the form content.

what exactly should i do?

i'd really appreciate your help.

former_member214651
Active Contributor
0 Kudos

Hi Julia,

When u create a PDF form in the Form Designer create 2 subforms (Parent and a Child Subform).

Make the Parent Subform's <b>Layout</b> as <b>Flow Content</b> and the <b>Flow Direction</b> as <b>Table</b>. Also check the box for <b>Allow Page break within contents (which u will find in Palettes->Object)</b>.

Make the Child Subform's <b>Layout</b> as <b>Flow Content</b> and the <b>Flow Direction</b> as <b>Table Row</b>. check the box for <b>Allow Page break within contents (which u will find in Palettes->Object)</b> and in the Binding Tab check the box for <b>Repeat Subform for each data item</b> and set the <b>minimum count to 1</b>.

Hope this helps u.

Regards

Poojith MV

Former Member
0 Kudos

I have another question then.

Should both of these subforms(parent and child) be the same (with the same content)??

I dont understand how it will work. what should be in the parent subform?

If i get the import table with a few items. and according to items content i should fill out the form content.

what exactly should i do?

i'd really appreciate your help.

Former Member
0 Kudos

You can do this in Javascript

In the PDF DOM there is a Document object which has a print method.