PDF Template structure - Reducing extra space

Dear friends,

                         I have trouble in PDF template structure. 

I have very close lines in the table as shown in the below screenshot.

jaichith_0-1699447865812.png

but after generating PDF I get these extra space how to avoid it. 

I have done my known measures like reducing line spacing , cell padding, middle alignment etc to reduce space even though it generates like this. 

RED lines denotes extra space. 

jaichith_1-1699447979169.png

-----------------------------------

screenshot after inserting formula to columns 

jaichith_0-1699449182567.png

-------------------------------------

Issue 2.

Column space rearrange or not fixed in output.

jaichith_1-1699449302473.png

 

 

 

 

here is the link of the template with commentor permission.  

 

 

Solved Solved
0 5 1,293
1 ACCEPTED SOLUTION

Finally achieved what I want.!! 

Screenshot_2023-11-12-12-51-18-83_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

 

Lets see How it was done :

1st one table was created and enter clicked so that cursor goes to next line and random typing was done and font color was kept as white and Here line spacing has been set 0.06 inch so that lines were closely packed. 

Another table created for articles where same things was followed. 

As said by @WillowMobileSys ,

Cell padding, cell alignment etc was taken into account and implemented. 

 

Special thanks to @WillowMobileSys 

View solution in original post

5 REPLIES 5

We have only SOME control over the reduction of white space.  To eliminate white space that will help reduce vertical height of the generated docuement, I have found 3 things helpful:

1) Table Cells have a padding property - this is the amount of white space around the inside perimeter of each cell.  Reduce this value to reduce the white space around perimeter of cell.  This reduces white space at top and bottom of cells which will reduce overall row height

2) Remove Row Height setting - this allows row height to adjust to inserted data to have the smallest height possible.

Screenshot 2023-11-08 at 9.54.14 AM.png

3) Adjust row height of blank rows above, below and between tables (and others if desired). I have found the minimum blank row height to be 2.  See image for example.

Screenshot 2023-11-08 at 9.59.52 AM.png


@jaichith wrote:

Column space rearrange or not fixed in output.


I don't quite understand what you are trying to illustrate with the image under this comment.

I hope this helps!

 

Hi bro,

already I have tried whatever you have said like cell padding etc. But still I am getting extra space. I have attached a sample file in the link kindly check and describe your ideas and corrections please. 

Problem 2 : 

I have set the column sizes and position / placement as needed in the template but after PDF generation, in the generated file i am getting different sizes position/placement. 

Let's say in template << [state]>>

This will not be straight to the header. And position of output will be slightly deviated (this you can find in the images in the post.) 

I responded in the doc but for others to learn from this, I am replicating it here.

This is comment most refers to the template table inside of the START/END expression:

The issue you are facing is that you have these inner tables inside of cells of 
another table.  Each level requires its own padding and before/after spacing.


Remove the outer document table.

Instead place the row with customer Name and State as its own table - a single row
table w/ no headers.  Cut/Paste should work.


Then insert a separate 2 row table for the Article data just as you have it now. 
Again, cust/paste should work.


As for State column not aligning with State header, that is an issue with the headers
being in a separate table.  To get the alignment as close as possible, set a hard coded
column width in both the header template table and the data template table.

 

 

After following your ideas, but still some space are there

jaichith_0-1699519429424.png

next improvement

jaichith_1-1699519482086.png

kindly tell me how to reduce space between table 1 and table 2

 

Finally achieved what I want.!! 

Screenshot_2023-11-12-12-51-18-83_e2d5b3f32b79de1d45acd1fad96fbb0f.jpg

 

Lets see How it was done :

1st one table was created and enter clicked so that cursor goes to next line and random typing was done and font color was kept as white and Here line spacing has been set 0.06 inch so that lines were closely packed. 

Another table created for articles where same things was followed. 

As said by @WillowMobileSys ,

Cell padding, cell alignment etc was taken into account and implemented. 

 

Special thanks to @WillowMobileSys 

Top Labels in this Space