hi @Gayen-M I did not understand which entity I was expected to run, and also did not observe anything about the header template being responsive or changing layout, but anyway i ran the "current-directorship-template" and modified the afterRender script a bit to make it run correctly with the pdf utils and the landscape to false, see it here

async function afterRender(req, res) { const $pdf = await jsreport.pdfUtils.parse(res.content, true) const watermarkRes = await jsreport.render({ template: { name: 'header-template', chrome: { landscape: false } }, data: { ...req.data, $pdf } }) /* const $pdf = await jsreport.pdfUtils.parse(res.content) const headertemplate = new Array($pdf.pages.length).fill(watermarkRes.content) */ /* const originalBuffer = Buffer.from(res.content) const withWatermarkBuffer = await jsreport.pdfUtils.merge(originalBuffer, headertemplate) */ res.content = await jsreport.pdfUtils.merge(res.content, watermarkRes.content, mergeToFront = false) }