Not able to set margin for PDF document
SummaryUsers are not able to set custom margin for PDF document using HTMLtoPDF.
Error MessagesNot applicable.
Steps to ReproduceNot applicable.
ResolutionHere’s the explanation for the reported behavior:
HTMLtoPDF uses PDFUtil api and setting custom margins from this api is not supported.
This can be done using PD4ML API (customizing). Leveraging the PD4ML API is the preferred option with Pega as it provides a higher level of abstraction which is easier to work with.
Additionally, this is a licensed product bundled with the base Pega product and therefore has better support available.
Creating a Border Less, Margin Less PDF : https://mesh.pega.com/message/218937#218937
Setting margins in PDF's: https://mesh.pega.com/thread/46348
Published July 16, 2016 - Updated July 28, 2016