Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
Pagination issue while merging multiple PDFs into PDFset
Hello Everyone,
I am facing an issue on pagination in PDFset.
I have merged multiple PDF files into single PDFset and now trying to add page number in main PDFset (not in individual PDF).
Code:
xml += "<pdfset>";
xml += "<pdf>\n"; //PDF 1
xml += "<head></head>";
xml += "</macro>";
xml += "</macrolist>";
xml += "</head>";
xml += "<body header=\"myheader\" header-height=\"22\%\" size=\"A4-LANDSCAPE\" style=\"font-family:sans-serif;\">"; //header=\"myheader\" font-size=\"10\"
xml += strName;
xml += "</body></pdf>";
xml += multiplePDFs;
xml += "</pdfset>";
//PDF 2
var multiplePDFs = "<pdf><head><macrolist><macro id=\"nlheader\">";
multiplePDFs+= "</macro></macrolist></head>";
multiplePDFs+= "<body header=\"nlheader\" header-height=\"20%\" size=\"A4-LANDSCAPE\">";
multiplePDFs+= "</body>";
multiplePDFs+= "</pdf>";
//PDF 3
multiplePDFs +