Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #26433

    Hi,
    I am trying to use header tag at my page in following way but header is not coming:-

    <%@ taglib uri="https://pd4ml.com/tlds/pd4ml/2.6"  prefix="pd4ml"  %><%@page
    contentType="text/html; charset=ISO8859_1"%><pd4ml:transform
    screenWidth="900"
    pageFormat="A5"
    pageOrientation="landscape"
    pageInsets="15,15,15,15,points"
    enableImageSplit="false"
    inline="true"
    fileName="transaction.pdf"
    interpolateImages="false">
    <pd4ml:header areaHeight="50">
    <font face="Arial" size="2">Header test.<br></font>
    </pd4ml:header>
    <pd4ml:footer areaHeight="20"><font color="red"><i>page $[page] of $[total]</i></font></pd4ml:footer>
    <html>
    <head>
    <title>pd4ml header/footer test</title>
    <style type="text/css">
    body {
    color: #000000;
    background-color: #FFFFFF;
    font-family: Tahoma, "Sans-Serif";
    font-size: 10pt;
    }
    </style>
    </head>
    <body>
    Hello, World!
    <pd4ml:page.break/>
    <table width="100%" style="background-color: #f4f4f4; color: #000000">
    <tr><td>Hello, New Page!</td></tr>
    </table>
    </body>
    </html>
    </pd4ml:transform>

    Currently I am experimenting with evaluation copy.
    Please help me. If I will not be able to use header tag then we have to look for some other option.

    Thanks
    Pankaj

    #28156

    In the JSP you define headers and footers in HTML format. It requires PD4ML Pro. If the headers/footers are not in the resulting document, I would suspect you use PD4ML Std.

    More info about headers/footers:
    html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.