PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: The header and footer are not getting rendered in pdf
   PostPosted: 17 Mar 2016, 09:19 
Hello

I am using Freemarker template to generate dynamic html. I have embedded the header and footer in the html, but they are not getting rendered in the pdf format. The header and footer have images.

I am using v3.20.1 of pd4ml. Please let me know if this version supports images in header and footer.


  Subject: Re: The header and footer are not getting rendered in pdf
   PostPosted: 17 Mar 2016, 14:44 
Please post an HTML code snippet, to illustrate the issue.

Also make sure you use PD4ML Pro (or derived PD4ML Volume). A regular PD4ML Std does not support images in headers/footer.


  Subject: Re: The header and footer are not getting rendered in pdf
   PostPosted: 31 Mar 2016, 07:26 
The version i am using is PD4ML v3.2.0 Pro. Does it support images in header and footer?

I am not using it from html but from java. I used the following code for adding header, but the header is not getting added at all -

PD4PageMark header = new PD4PageMark();
header.setAreaHeight(30);
header.setPageBackgroundColor(new Color(0x090000));
pdfDoc.setPageHeader(header);



[Reply]     [ 3 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share