I took the example of how to implement page headers & footers directly from the PDFinclude PRO v1 Documentation and from the table.p sample program.
My code is as follows:
{pdf/pdf_inc.i }
RUN Create-pdf.
PROCEDURE Create-pdf:
RUN pdf_new ("Spdf", "tmp/pdfTest.pdf").
RUN pdf_set_Orientation ("Spdf", "Portrait").