Question

Generating a PDF via HTMLToPDF page margin is increase into next page

Hi,

We are generating multiple PDF on the single file, each page has the margin and all those value should fit into the one page. When user select multiple work object, we are printing those objects on the single PDF with multiple page based on no.of work objects selected.

We see those margin still going to the next page, after 3rd page the content get cut off.

Can anyone faced those kind of issue. We are using "HTMLToPDF" activity to convert.

We are using PRPC 6.2 sp2.

Regards,

Anandh

***Updated by moderator: Lochan to add Categories***

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

February 2, 2017 - 1:19am

Hi Anand,

Please add a sample pdf depicting the issue for better understanding.

Best Regards,
Mounika

February 2, 2017 - 5:19am

Hello Anandh, 

Thanks for posting your query in PSC :)

I find similar(pdf content being cropped) post as per Support article(https://pdn.pega.com/support-articles/generating-pdf-pd4ml-cuts-content) reported on Pega 7.1.8. Can you verify if the local change suggested here helps. If not, kindly share screenshots of the actual behavior observed at your end. 

Regards,

Rincy

 

February 2, 2017 - 10:31am
Response to RINCYRAPPAI_GCS

Hi,

Please find the attached sample PDF.If you see the 2nd and 3rd page margin getting into another page.

Regards,

Anandh

February 3, 2017 - 2:10am
Response to Anandh Palanisamy

Hello Anandh, 

Thanks for sharing the screenshots. 

Can you refer below related information if this helps at your end?

Regards,

Rincy

February 3, 2017 - 12:16am

February 3, 2017 - 4:24pm
Response to MounikaThatikonda

Those above articles are not related, our case single PDF is getting printed with proper margin, when we go for more then 1 pdf we are getting this issue.

Regards,

Anandh

February 15, 2017 - 4:12am

Have you added any inline styles ?