Forum Replies Created

Viewing 15 posts - 1,651 through 1,665 (of 4,234 total)
  • Author
    Posts
  • in reply to: HTML to PDF issue
    #28844

    Could you please post such PDF sample?

    in reply to: HTML to PDF issue
    #28845

    I have attached the pdf. And the command that i have used is:
    java -Xmx512m -cp ./pd4ml_demo.jar Pd4Cmd “file:test_htm_1.htm” 1200 LETTER -adjustwidth -nohyperlinks -smarttablesplit -noimagesplit -pdfa -ttf c:/windows/fonts -pdfforms -debug -out c:/temp/output/with_width/test.pdf

    in reply to: cannot render greeks using TTF Embedding feature
    #28843

    Glad it works now.

    I suspected Std as in the debug output
    version: PD4ML 380 (eval)
    there was no “Pro” suffix.

    in reply to: images won’t render
    #28829

    I guess I’m having a somewhat similar problem, however my images are coming not from an intranet server, but from an Amazon S3 account. Something like: https://s3.amazonaws.com/bucket-name/newsletters/greenlight_013112104444_WX.jpg

    Is it possible to embed images into the PDF from Amazon S3, or will they need to be accessed from the server generating the PDF?

    Thanks!
    Ryan

    in reply to: images won’t render
    #28830

    Your server must be able to establish a TCP/IP connection to https://s3.amazonaws.com/… (probably you’ll need to route HTTP(S) requests from the server via proxy).

    in reply to: HTML/CSS rendering issues
    #26671

    After a page break sometimes cell borders are not drawn.

    The example.html file attached contains the page body. The run.bat calls Converter.class with a page header.

    Any idea why the top border of the DCS statement is not drawn after the page break?

    in reply to: Table cell border not drawn after page break
    #28846

    Is the issue reproducible with the recent versions of PD4ML?

    in reply to: Table cell border not drawn after page break
    #28847

    Yes. Please find an example in the attache zip file.

    in reply to: Table cell border not drawn after page break
    #28848

    The attached zip file contains the example.html file which is the page body. run.bat calls Converter.class with a page header.

    in reply to: Problem removing anchor underline using text-decoration
    #28735

    Hi,

    I am facing the similar issue I AM NOT ABLE TO REMOVE THE UNDERLINE FOR tag,
    The post above seems to be month or 2 old.
    Were you able to find any work around.? Please do reply.

    Thanks for any help.

    in reply to: General questions / FAQ
    #26672

    I am getting open or save dialog box, when we click open it should open in new window. how to achieve this ?

    in reply to: Troubleshooting
    #26673

    Watermarksettings for a specific jsp are cached by pd4ml:header. We set Watermarks dynamically to flag some printouts as drafts.

    If this page was printed as draft next printout is still flagged as draft also if watermark settings are removed.

    Used Version: 3.80

    We tried out:
    – disable cache: System.setProperty(“pd4ml.cache.enable”,”false”) ;
    – Http Header:
    httpServletResponse.setHeader(“Cache-Control”,”no-cache”);
    httpServletResponse.setHeader(“Pragma”,”no-cache”);
    httpServletResponse.setDateHeader (“Expires”, 0);
    – Setting path to watermarkimage to an empty image

    Nothing worked.

    Please let me know if there is a solution to get this fixed.

    Thanks!

    in reply to: Troubleshooting
    #26674

    I am using pd4ml within asp.net to output reports to PDF for my users. With very large reports, 500+ pages, the product is running extremely slow and sometimes crashes the web services on the server. If it runs to completion, it may take 25 minutes! In contrast, the same report run on the same server using crystal reports to output to PDF takes a few seconds. Any thoughts? Thanks!

    in reply to: Large PDF Issue
    #28857

    I hope you compared similar functions of the tools: HTML-to-PDF conversion.

    The PDF output itself by PD4ML is quite quick: 2-3% of the conversion time.
    But HTML rendering – the first phase of the conversion – is a resource consuming task.

    PD4ML does not use native HTML rendering engines (like Webkit or Mozilla), PD4ML is managed .NET code (and 100% Java). Managed code has its benefits and, of course, disadvantages like performance penalties.

    For example it instantiates a .NET object even for any standalone whitespace. Bearing in mind generic .NET overhead in CPU/RAM usage, we simply would not recommend to convert such big documents.

    If you definitely need that, I would recommend to revise the document layout. First make sure the document is not a huge table. PD4ML does all the layout of all the pages in memory, before it writes anything out. Any cell on, let’s say, page #350 whose width is a bit wider than previous cells of the same column requires re-layouting of previous 349 pages – as it impacts the entire table layout.

    So split big tables to smaller ones.

    Second, try to avoid nesting of tables where it is possible. Each table cell layouts 3 times: MIN, MAX, OPTIMAL. Each table cell of a nested table layouts 9 times. If the nesting level is 2, a cell layouts 27 times etc.

    in reply to: Watermark Cache Problem
    #28856

    Obviously the problem is caused by a reusing of custom tag object instances by the JSP framework. We never experienced exactly such issues on our test environment, but I can imagine that could happen.

    We’ll check what can be done in the taglib code to prevent that. In the meantime you could check if there is a configuration switch by your application server to disable the optimization.

Viewing 15 posts - 1,651 through 1,665 (of 4,234 total)