Forum Replies Created

Viewing 15 posts - 1,561 through 1,575 (of 4,249 total)
  • Author
    Posts
  • in reply to: HTML/CSS rendering issues
    #26638

    Hey,

    I’m trying to convert an HTML presentation to PDF using the following command:

    java -Xmx512m -Djava.awt.headless=true -cp ./pd4ml_demo.jar Pd4Cmd ‘http://html5-offline.appspot.com/#2’ 1200 LETTER -bookmarks HEADINGS -pdfforms -debug -out pd4ml.pdf

    OR

    java -Xmx512m -Djava.awt.headless=true -cp ./pd4ml_demo.jar Pd4Cmd ‘http://html5-offline.appspot.com/#2’ 1200 > test.pdf

    Both commands return an empty PDF page, any suggestions?

    Thanks,

    Stephan

    in reply to: BMP in BASE64 encoding
    #28727

    http://en.wikipedia.org/wiki/BMP_file_format explains how to calculate SizeImage. I will update our code and set this value. Would it be possible that you send me a test pd4ml package containing the bug fix for 1 bit bmp files?

    in reply to: General questions / FAQ
    #26640

    Hello,
    In our application we have some special characters which are displaying well in jsp, html pages. For example ohm character ” Ω “.
    the same content we are passing to pd4ml, when it generated pdf, the character displaying as ” ? “.
    Searched over the forum and tried all the possible ways, also included the below code,
    <%@page language="java" contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%>

    But still not succeed. Please help me on this.
    Tried downloading latest pro version, but the TTF creation and all is little messy.
    please suggest me doing in some way.

    We have brought licence of PD4ML.
    Thanks,
    Uday

    in reply to: HTML/CSS rendering issues
    #26641

    Hi,

    We are using PD4ML v3.80 within our reporting tool to output PDF versions of our online reports, but we are experiencing an issue.

    The issue occurs when using the ‘enableSmartTableBreaks’ option and two header rows are present in a table. A gap appears between the header and main table on every page, apart from the first page.

    I have attached both the Source HTML version of a report example with these issues, along with the PDF output.

    We are using JRE 1.6.0_29 and can reproduce the issue on various OS platforms, including Windows XP, Windows 7, Linux and Mac OSX.

    I would be grateful if you could confirm whether this is an issue that you can fix for us.

    Thank you in advance for your help.

    Regards,

    Kevin Strachan
    Operations Manager
    Connexica Ltd

    in reply to: UTF-8 Characters
    #28739

    In order to display non-Latin characters you have to utilize TTF Embedding feature of PD4ML Pro: pd4ml-html-css-pdf-tips-tricks-f7/ttf-embedding-t42.html

    A quick solution for you could be to download a basic font set from
    http://pd4ml.com/i/easyfonts/fonts.jar
    put the JAR to WEB-INF/lib and add to your JSP (nested to ).

    in reply to: BMP in BASE64 encoding
    #28728

    I’ve just sent the version to your email box.

    in reply to: Positioning – bottom ignored
    #28688

    I am also looking forward for getting positioning support.
    I have an urgent requirement of using this and pd4ml seemed to be most suitable for my html pages. but i am getting the same issue its not able to handle relative and absolute position combo. on just absolute its working fine…

    Any expected time line by which it is expected to be done??

    in reply to: HTML/CSS rendering issues
    #26639

    Hi.

    I am converting a HTML page into a PDF file.

    In the HTML page we have a long link. Because the link is longer than the PDF page width, the whole link isn’t shown correct.

    Is there a way to break up long words or links into a second line?

    Here is the code I currently use:
    <br /> ...<br /> PD4ML html = new PD4ML();<br /> html.setPageSize( org.zefer.pd4ml.PD4Constants.A4 );<br /> html.setPageInsets( new java.awt.Insets( 30, 20, 20, 20) );<br /> ...<br />

    in reply to: nullPointerException when rendering page
    #27618

    I am using pd4ml.prof.361b1
    Thanks!

    in reply to: nullPointerException when rendering page
    #27619

    Also, one more bit of information — they server that just disregards the image is running on a Windows box, so if the image were on the c: drive, at least the drive would be found. The server that crashes is running on AIX where c: would have no meaning.

    in reply to: HTML/CSS rendering issues
    #26643

    Hi –

    I’m trying to use the merge method with undesired results.

    Code:

    File resourceFile = new File(“/Users/homedir/tmp/1.5 mile test.pdf”);
    pd4ml.merge(new FileInputStream(resourceFile), 1, -1, false);
    }
    pd4ml.render(new StringReader(html.toString()), fileOut);

    in reply to: BMP in BASE64 encoding
    #28729

    I tested your bux fix. But it seems there is still a problem.

    Please find attached my example containing now BMP files which have set the ImageSize correctly (BMP file & BASE64 encoded).

    Could you have a look at it again?

    in reply to: BMP in BASE64 encoding
    #28730

    I tested your bux fix. But it seems there is still a problem.

    Please find attached my example containing now BMP files which have set the ImageSize correctly.

    Could you have a look at it again?

    in reply to: nullPointerException when rendering page
    #27620

    @litacampbell wrote:

    Also, one more bit of information — they server that just disregards the image is running on a Windows box, so if the image were on the c: drive, at least the drive would be found. The server that crashes is running on AIX where c: would have no meaning.

    Hi to All,
    Do you mean with server crash that application server crash or only that the servlets is arising the errror and the application continues to work.
    We’ve the same issue and seems that after this exception the memory is not cleaned and the GC continue to work blocking the work.
    Did you faced anything similar to this ?

    in reply to: BMP in BASE64 encoding
    #28731

    Yes, the images you provided are still not compatible with PD4ML.

    I did the simple test again: opened your HTML in MS IE and saved the BMP as signature2.bmp and included it to example.html

    Obviously MS IE again repaired format errors of your BMP. See attached.

    I also compared signature.bmp and signature2.bmp. As I see 2 values “40” and “13” are swapped:

Viewing 15 posts - 1,561 through 1,575 (of 4,249 total)