Forum Replies Created
-
AuthorPosts
-
in reply to: Can i remove following url from the botton of the pages? January 19, 2015 at 13:58#29645
The text line is printed by evaluation versions of PD4ML. The steps to remove it are the following:
1. Order a license
2. Substitute pd4ml_demo.jar with pd4ml.jar from a licensed distribution pack
3. Update the classpath (if needed)
4. Remove cached versions of pd4ml_demo.jar in tmp/work directories of your server (if any)in reply to: enableSmartTableBreaks bug? January 13, 2015 at 09:11#29643Just login with your credentials to PD4ML download area.
Obviously your maintenance is expired, so you’ll have access to the evaluation versions only. Download one, temporarily substitute pd4ml.jar with pd4ml_demo.jar and check if the newer eval version solves the issue.
in reply to: enableSmartTableBreaks bug? January 8, 2015 at 15:37#29641I would recommend to begin with an upgrade to the most recent version of PD4ML v393 (you currently use v385).
There is a fully functional evaluation version is available for download.
in reply to: pdf generated empty November 25, 2014 at 18:18#29604Also, inspect an exported DXL file content. If there are
<rawitemdata type='1'>elements – it is a bad sign.The rawitem data type corresponds to TYPE_COMPOSITE, which is raw binary object, exported from Notes database “as is” (not represented as DXL’s
<richtext>element). A parsing of such objects is not a trivial task and it is out of PD4ML scope.The only solution in the case is to force DXLExporter not to output
<rawitemdata type='1'>objects.There are DXLExporter options to control that, but they not always work. See
http://www-01.ibm.com/support/knowledgecenter/#!/SSVRGU_9.0.1/com.ibm.designer.domino.main.doc/H_RICHTEXTOPTION_PROPERTY_EXPORTER.htmlin reply to: pdf generated empty November 25, 2014 at 18:06#29603“You can review output from a Java agent that is running locally in the Java Debug Console. To activate the console, choose Tools – Show Java Debug Console.”
in reply to: Header and footer overwrite text November 25, 2014 at 17:31#29613For the document generation you used PD4ML v380fx3. Try the most recent version – most probably the issue is already resolved.
in reply to: Exception created : java.lang.IllegalStateException November 18, 2014 at 11:49#29615Possible reason #1: There are whitespace characters before
pdf-generation-troubleshooting-f4/getoutputstream-has-already-been-called-exception-t14.htmlPossible reason #2: In your document there are JSP tags (probably belong to some other JSP taglibs) perform “flush”: just generated HTML content is pushed directly to HTTP channel not letting PD4ML to capture/convert it. Check your JSP for flush=”true” attributes and remove/disable them.
in reply to: Header and footer overwrite text November 18, 2014 at 11:37#29609Could you please also publish a Java code snippet with your PD4ML API calls?
in reply to: Third party charts on the page November 18, 2014 at 11:16in reply to: [CSS Issue] Border-style : dashed. November 17, 2014 at 16:43#27441Current versions of PD4ML support dashed borders.
in reply to: pdf generated empty November 17, 2014 at 16:25#29600Are there any error messages or warnings (printed to STDOUT/log)?
in reply to: Not generating PDF from HTML in some browser November 14, 2014 at 13:17#29607There is a big probability the issue is caused by cache control directives (or a missing of them) in HTTP header you sent with PDF documents.
PD4ML JSP taglib sends HTTP headers as below. Try the same on your side.
sr.setContentType("application/pdf"); String disposition = (inline ? "inline" : "attachment") + "; filename=" + fileName; ((HttpServletResponse) sr).setHeader("Content-disposition", disposition); ((HttpServletResponse) sr).setHeader("Pragma", "cache"); ((HttpServletResponse) sr).setHeader("Expires", "0"); ((HttpServletResponse) sr).setHeader("Cache-control", "private");in reply to: pdf generated empty November 12, 2014 at 16:39#295981. Make sure there is routing from WebSphere server to http://IPaddress and port 10039 is not blocked.
2. Enable debug info and inspect STDOUT/server’s log for error messages
3. Try to save Rationalportlets output as a local HTML document and try to convert it locally. Does it produce a non-blank PDF?
in reply to: • shown as ? November 12, 2014 at 14:47#29605• entity corresponds to a symbol, which does not belong to Latin-1 character set. That means you need to utilize TTF embedding feature of PD4ML Pro.
See:
https://pd4ml.com/reference.htm#7.1
pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html
https://pd4ml.com/cookbook/pd4ml_pdf_true_type_fonts.htmin reply to: Question about creating outlines November 4, 2014 at 12:18#29595> 1. Is it possible to set outlines at header or footer?
No.
> 2. I have 2 urls(ex. http://www.aaa.com/page=1,
> http://www.aaa.com/page=2). And java program makes PDF file with first
> url and after that merges it with second urlThere are PD4ML API render() method, which takes an array of URLs as an input. Doesn’t it work for you?
Also the new PDF merge API (PD4Document class) can merge 2 PDFs (including outline structures)
> If your answer is “NO” for my
> first question, how can I set outlines on my PDF file?
> Each url has completely html structure, so I can not insert
> tag in tag…PD4ML can generate outlines from
<h1>-<h6>hierarchy, from named anchors and from a structure of tags (which also point to named anchors).If you need an outlines, point to each page, probably a table of contents is also a solution. See tag.
-
AuthorPosts
