Forum Replies Created
-
AuthorPosts
-
in reply to: can not load image error when converting from html to pdf August 18, 2016 at 12:25#29903
It is not a 100% proof of problem-less network routing if it works from a web browser: the browser may be configured to access URLs via corporate proxy.
in reply to: Local converter 398 fx4/fx5 crash with a NPE August 18, 2016 at 11:35#29885I looked through PD4ML sources once more… It seems it crashes by an attempt to determine PDF viewer location. Did it generate already pd4browser.properties file? If so, open it in in a text editor and check what is assigned to
viewer.executeble
viewer.rtf.executebleTry to replace the values with Acroread and Wordpad/MS Word executable locations.
in reply to: TTF embedding August 8, 2016 at 13:44in reply to: Custom Fonts August 8, 2016 at 13:32#27414A usual reason, that it does not generate pd4fonts.properties is insufficient permissions.
For example the command has to index all system font and to generate c:/windows/fonts/pd4fonts.properties :
java -jar pd4ml.jar -configure.fonts c:/windows/fontsbut it does not, as by default (in modern Win versions) it has no permissions to write to c:/windows/fonts
A solution is to generate the properties file somewhere else:
java -jar pd4ml.jar -configure.fonts c:/windows/fonts c:/workspace/fontmap/The second parameter defined a destination folder or new file name for generated pd4fonts.properties. The .properties will refer to c:/windows/fonts as the actual TTF location.
In your application pass “c:/workspace/fontmap/” as useTTF() parameter.
in reply to: Validation of HTML CSS styles August 8, 2016 at 13:22#29848We could add the reporting only to the forthcoming v4.0 or PD4ML (not expected before October-November 2016).
We do not plan to extend the current PD4ML v3.9.9 with new features. However we could add a prefix to all CSS diagnostics messages, so you’ll have a possibility to filter them from PD4ML’s output and show it to users if needed.
in reply to: There was an Error opening document. Erro when opening PDF. August 8, 2016 at 13:09#29913w3wp.exe does not belong to PD4ML – please contact its authors.
Please note – PD4ML is thread-safe but not re-enterrant. That means you cannot access the same PD4ML instance from multiple threads at the same time. Create an instance for each HTML->PDF conversion request.
in reply to: PD4ML NOT SUPPORTING THAI AND OTHER Indian languages August 8, 2016 at 13:04#29895> it generates, “ನೀವೕ ಹೇಗಿದೕದೀರಿ”
Usually that type of visual garbage is caused by an attempt to render UTF-8 document (2 bytes per CJK glyph) with a wrongly applied (default?) single byte encoding i.e. ISO 8859-1.
Try to explicitly define UTF-8 in the document
<meta>or pass the default encoding via JVM command-line params -Dfile.encoding=UTF-8in reply to: Issue with numbered lines: unwanted bold August 8, 2016 at 12:56#29900Could you please publish or send to support pd4ml com an HTML sample and its PDF output, which illustrates the issue?
in reply to: can not load image error when converting from html to pdf August 8, 2016 at 12:51#29901From the diagnostics it follows, that PD4ML cannot load the image.
errno: 111 (Connection refused), error: Connection refused (local port 50735 to address 0:0:0:0:0:0:0:0, remote port 80 to address 74.208.20.166): http://www.daycomsolutions.com/Support/ ... 050w50.JPG (socket timeout 0ms)Probably your workstation (where PD4ML runs) has no route to the server or there are other network/firewall configuration troubles.
I would recommend either to investigate the network issue or just for the test purposes to refer to an image, available in your intranet.
in reply to: There was an Error opening document. Erro when opening PDF. August 8, 2016 at 12:46#29914Try to open the PDF in a text editor (as plain text). I suspect the file either 0 bytes long or has only PDF file prefix.
org.zefer.html.doc.css.CssRuntime init error is obviously a reason. For some reason it cannot locate all needed libraries (.DLLs in a case of .NET).
in reply to: Error: Can not open pdf files in adobe reader June 8, 2016 at 12:41#29879I am afraid we cannot help you with the issue analyze, based on that limited information.
Probably there are PDF viewer application, which cannot open already opened PDFs. Acroread usually locks an opened PDF file for overwriting/modifying. But as a rule it does not block a reading by other processes.
in reply to: Local converter 398 fx4/fx5 crash with a NPE June 8, 2016 at 12:37#29883Obviously it crashes by an attempt to create a java.io.File object, whose name is prefixed by “$$$”. It is an issue of JDK1.8 as PD4ML passes a file name to the constructor “as is”.
Is it really that necessary to name a folder using ‘$’ chars?
in reply to: Zero Width Space (U+200B) in Java 8 June 8, 2016 at 12:31#29838The issue has been fixed in the DEV build. An update to be published this week.
in reply to: ‘Inherit Zoom’ support for bookmarks generated with pd4ml May 16, 2016 at 14:15#29867‘Inherit Zoom’ will be supported from v398fx6
in reply to: Error generating PDF with Java 1.7 May 11, 2016 at 19:27#29871Usually it is a usual issue on UNIX/Linux environments. In order to solve it you need to run your application with -Djava.awt.headless=true JVM command line parameter.
I wonder how you achieved it on Win7…
-
AuthorPosts
