I have a script that creates a PDF file and writes contents to it. After the execution is complete I need to write the status (fail, success) to the PDF, but the status should be on the top of the page. So the solution I came up with is to use absolute positioned text. However, as the PDF creates multiple pages, this text is added to the last page of the PDF. How can I add it to the 1st page?