Forum Replies Created
-
AuthorPosts
-
in reply to: δ problem in pd4ml for jsp May 21, 2010 at 07:33#27991
In order to display special or national characters you need to configure TTF embedding feature:
pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.htmlin reply to: Double byte support May 21, 2010 at 07:33#27888First make sure CODE2000.TTF includes Japanese glyphs.
If so, for test purposes, try to surround the Japanese text with
<font face="code2000">and</face>Does it change anything?
in reply to: The file is damaged and could not be repaired May 21, 2010 at 07:34#27936i sent the PDF and the log file by email yesterday, please kindly download the attachement. thank you.
in reply to: General questions / FAQ May 21, 2010 at 10:25#26394Hi PD4ML
i have get 2 or more page Pdf here i have to set logo in My First page Pdf Only
i tried but i get logo in all pdf pages how can i do that.
Thanks in Advance
Regads,
Dinesh.Nin reply to: how to set logo in Pdf First page only May 21, 2010 at 12:27#28033That depends on which kind of logo you would like to add: watermark, logo in header, logo in footer.
With watermark you have not much flexibility – it appears on each page. With headers-footers there are different ways to control it. See:
html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html
html-pdf-faq-f1/is-it-possible-to-set-header-footer-scope-via-the-api-t176.htmlAlso if you need the image at the bottom part of the first page,
<pd4ml:footnote>may also help:<pd4ml:footnote noref=true><hr><img src="..."></pd4ml:footnote>in reply to: HTML/CSS rendering issues May 24, 2010 at 09:44#26366how to integrate pd4ml in asp.net 2.0
and open,save view dialog box need to open when pdf generatedin reply to: how to set logo in Pdf First page only May 24, 2010 at 11:38#28034Hi PD4ML
am using in header but here i couldn’t able to find a PageNumber, but i have to show logo in my first page only,i have more than 10 Page.how can i show?header.setHtmlTemplate( “
<font face="Arial" size="10">” +”
</font>”);Thanks in Advance
Regards
Dinesh.Nin reply to: General questions / FAQ May 24, 2010 at 15:42#26395I am using pd4ml.lib.trial.360fx1 evaluation version and I am not able to generate pdf from html which contains frame.
in reply to: General questions / FAQ May 25, 2010 at 06:26#26396when export in to pdf existing font and size are changed in to some
staic values… need to maintain same font and size what already exists in html text
this issues occured in asp.net 2.0thanks
in reply to: PDF Font support May 25, 2010 at 12:30#28039By default PD4ML converts all sizes, given in physical units to screen pixels using 72dpi as scale factor. After that it renders document as for a screen presentation.
The resulting layout is mapped to chosen paper format. The mapping scale factor may be calculated like that:
scale = (pageFormat.width – insets.left – insets.right) / htmlWidth
So you have two methods to get the desired PDF font size:
1. to play with htmlWidth value to achieve the needed scale and font sizes
2. to define all important sizes in “pt”, “in”, “cm” and to trigger protectPhysicalUnitDimensions() API method.in reply to: not generating pdf for html page with contains frame May 25, 2010 at 12:34in reply to: Is it possible to set header/footer scope via the API? May 25, 2010 at 15:21#27838There are 3 ways to define headers or footers with PD4ML:
html-pdf-faq-f1/pdf-page-headers-footers-definition-options-t41.html
The first and the second (definition via PD4ML API) always allocate fixed amount of space.
The third option should do the trick for you.
in reply to: not generating pdf for html page with contains frame May 26, 2010 at 03:17#28037But if I enter URL like http;//www.gooogle.co.in. in that case I am able to generate pdf of 2kb and output is written “IT Works”. I should suppose to get google page in pdf. Can you tell me why this happen?
in reply to: Troubleshooting May 26, 2010 at 06:49#26397We use PD4ML from JAVA. Header and footer are set to generator and than is used function “generateMulticolumn(2, 5, true)” (2 columns, with 5mm gap between) too.
Problem with newly generated PDF is that header and footer are used only for first column (and are smaller) on each page.
But we want one “normal” header a and footer on each page with 2 columns.
How can we do that ?
Thank you for your advice.in reply to: General questions / FAQ May 26, 2010 at 15:50#26398Good morning,
I am attempting to include external html into a pdf generated using PD4ML JSP and have tried this code i found on the forum:
<pd4ml:include src="http://sample.com/test.html">The problem i am having is that it make it so that the pdf doesn’t ever load at all…it just keeps trying to load infinitely. Taking out this code, the pdf loads fine of course. Is there some other way to include another file? Or am i using this code incorrectly? Please help.
Thank you,
Jeremy -
AuthorPosts
