How to use page breaker in Advance PDF in Netsuite?
Hello Everyone,
This whole week was little difficult for me as I was not well (still recovering) so I was not able to write much.
While thinking about topic, I notice actually advance PDF is not a easy, If you have text which is too lengthy and you want to break into pages, or if you want to break page at certain point then which API to use.
New line will take you to new line but not new page.
There is a small text "page-break-before="always"" if you use this text in paragraph then new page will start . This way page number will not get effected and will be in sequence.
Example:
<p page-break-before="always">Content goes here, you can use all HTM tag to make it better</p>
Please try this and let me know if it works for you. Try with other tag also as I tried with Paragraph tag.
Thanks
Abhishek
Download Netsuite Guru Android App
Follow Me on Linkedin
Our FB Page
This whole week was little difficult for me as I was not well (still recovering) so I was not able to write much.
While thinking about topic, I notice actually advance PDF is not a easy, If you have text which is too lengthy and you want to break into pages, or if you want to break page at certain point then which API to use.
New line will take you to new line but not new page.
There is a small text "page-break-before="always"" if you use this text in paragraph then new page will start . This way page number will not get effected and will be in sequence.
Example:
<p page-break-before="always">Content goes here, you can use all HTM tag to make it better</p>
Please try this and let me know if it works for you. Try with other tag also as I tried with Paragraph tag.
Thanks
Abhishek
Download Netsuite Guru Android App
Follow Me on Linkedin
Our FB Page
Comments
Post a Comment
Thanks for you message, please join us on Facebook and Linkedin