Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • #27295

    Try to define a footer inline with and tags.

    See http://pd4ml.com/cookbook/pdf_header_footer_generation.htm

    If your environment is sensitive namespace declarations, use an alternative tag naming:

    #27296

    PD4PageMark footer = new PD4PageMark() {<br /> public String getHtmlTemplate(int pageNumber) {<br /> if ( pageNumber % 2 == 0 ) {<br /> return "<html><body>some left aligned stuff...";<br /> } else {<br /> return "<html><body>some right aligned stuff...";<br /> }<br /> }<br /> };<br /> pd4ml.setPageFooter(footer);

    every body help me please, it’s very urgent.
    i have followed the code above for printing even condition but something wrong here. if i didn’t print the first page number, the footer page didn’t print . if i tried by odd condition then the footer page will print.

    #27297

    Please publish a PDF sample generated from your HTML code.

    Please make sure you use PD4ML Pro (or a derived VOL license binary). Also try to place right after opening tag. Does it changes anything?

Viewing 3 posts - 31 through 33 (of 33 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.