# Html2pdf coverter

**URL:** <https://forum.novacura.com/t/html2pdf-coverter/683>\
**Category:** Flow Classic\
**Tags:** studio-or-server, portal\
**Created:** [May 2, 2024, 12:07pm UTC](https://forum.novacura.com/t/html2pdf-coverter/683 "2024-05-02T12:07:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bhaski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.novacura.com/bhaski/32/460_2.png) [@Bhaski](https://forum.novacura.com/u/Bhaski)\
**Post date:** [May 2, 2024, 12:07pm UTC](https://forum.novacura.com/t/html2pdf-coverter/683/1 "2024-05-02T12:07:40Z")

</div>

Hi Gurus,

I was trying to use HTML2PDF connector and seen the CSS and related html default codes are there.  
But somehow I’m not able to generate and algin properly multiple fields in PDF using page break.

My requirment is as below.

| Table 1 Data | Table 2 Data | Table 3 Data | Table 4 Data | Table 5 Data |
| --- | --- | --- | --- | --- |
| TEMP\_SUPPLIER\_ID | TEMP\_SUPPLIER\_ID | TEMP\_SUPPLIER\_ID | TEMP\_SUPPLIER\_ID | TEMP\_SUPPLIER\_ID |
| LINE\_NO | LINE\_NO | LINE\_NO | COMM\_ID | CASH\_CAPLITAL |
| PROJECT\_NAME | SUBCON\_CR\_NO | EQUIP\_TYPE | VALUE | TEMP\_SUPPLIER\_ID |
| CUSTOMER | SUBCON\_NAME | MANUFACTURER\_NAME | DESCRIPTION | VOL\_OF\_SHARES |
| CONSULTANT | SUBCON\_CONTACT | QUANTITY | VALID\_FROM | SHARE\_VALUE |
| COST\_CONSULTANT | SUBCON\_EMAIL | CAPACITY | VALID\_TO | BANK\_NAME |
| PROJECT\_VALUE | | MANUFACTURE\_YEAR | NAME | ACC\_NO |
| START\_DATE | | REG\_NO | METHOD\_ID | BRANCH\_ADDRESS |
| END\_DATE | | APPROX\_VALUE | TEMP\_SUPPLIER\_ID | BRANCH\_CONTACT\_NO |
| COMPLETION\_DATE | | | VALUE\_PER\_METHOD | BRANCH\_EMAIL |
| | | | LINE\_NO | |

I need to show respective columns in each page of PDF where respective table can have multiple data.  
Now request you to please help me to align thsi in PDF .

Thanks in advance !!

---

<div class="post-metadata">

**Author:** ![stpase](https://avatars.discourse-cdn.com/v4/letter/s/7C9FD7/32.png) [@stpase](https://forum.novacura.com/u/stpase)\
**Post date:** [May 3, 2024, 1:24pm UTC](https://forum.novacura.com/t/html2pdf-coverter/683/2 "2024-05-03T13:24:17Z")

</div>

Hello Bhaski,  
I am a bit unsure what you are trying to achive. I saw that you have access to our Flow 6 training in EdApp, have you tried reading the chapter called “Html to Pdf Connector”? It explains the connector and shows some code that displays data in a table in HTML.

 ![Screenshot 2024-05-03 150839](https://europe1.discourse-cdn.com/flex013/uploads/novacuratalk/original/1X/b3c0aa10758597e21562564c257a7464f0049843.png)

Let me know if this helps or if you can explain in a different way what you need help with.

Best regards,  
Stina

---

<div class="post-metadata">

**Author:** ![Bhaski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.novacura.com/bhaski/32/460_2.png) [@Bhaski](https://forum.novacura.com/u/Bhaski)\
**Post date:** [May 3, 2024, 3:17pm UTC](https://forum.novacura.com/t/html2pdf-coverter/683/3 "2024-05-03T15:17:34Z")

</div>

Hi Stina,

Thanks for the reply.  
Actually I understand how to use this conenctor but not able to align the column data in PDF.Data is going beyond marigin in PDF and overlapping.

Need help in this.

Regards,  
Bhaski

---

<div class="post-metadata">

**Author:** ![mew](https://avatars.discourse-cdn.com/v4/letter/m/7C9FD7/32.png) [@mew](https://forum.novacura.com/u/mew)\
**Post date:** [May 7, 2024, 9:54am UTC](https://forum.novacura.com/t/html2pdf-coverter/683/4 "2024-05-07T09:54:10Z")

</div>

Generally, you need to use HTML/CSS to control the layout. Have you tested your HTML/CSS with relevant data to ensure that the output is what you expect?
