We are working on creating PDf from HTML which will be printed on Legal Page - It contains financial stamps only for first 3 pages at the top. So, we need to set big top margin for first 3 pages only for the space of the Financial Stamp and default margin for rest of the pages. We are using CYaHPConverter for HTML -> PDF conversion which does not support this dynamic margin setup on runtime pdf creation. Can anyone have any idea how to solve this problem with CSS or HTML. Or, suggest any other convertion library for this dynamic margin setup for different pages?
I tried YaHP-Converter's documentation and other popular library like - Aspose.PDF. But not sure how to pass the margin per page. I also tried Vanilla CSS but failed to get the idea.