Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #38232

    We have purchased the PD4ML V4 Java Single PRO License and plan to use it within the Eclipse environment on Java Module Projects. However, we are facing issues with activating the license. We are using the org.zefer.pd4ml.PD4ML class with the pd4ml-4.0.19fx1-jakarta.jar file. We chose not to use com.pd4ml.PD4ML as its structure is very different from that in org.zefer.pd4ml.PD4ML.

    Below is the code we use for PDF conversion, but we are still receiving a demo license warning. Despite meticulously following the instructions provided by the system, we have not been able to find a solution.

    Sample Code:
    org.zefer.pd4ml.PD4ML pd4ml = new org.zefer.pd4ml.PD4ML();
    pd4ml.setPageInsets(new Insets(15, 5, 10, 5));
    pd4ml.setHtmlWidth(1024);
    pd4ml.setPageSize(pd4ml.changePageOrientation(format));
    ..

    #38233

    Hi! Try to switch debug on with pd4ml.enableDebugInfo() API call and inspect STDOUT for possible license reading errors.

    pd4ml.lic is expected to be in the application workdir or in the classpath root (not in lib/ dir where pd4ml.jar is)

    Also even if you use legacy API with PD4ML v3 wrapper, you always have access to v4 instance with

    pd4ml.pd4mlNew.applyLicense(code);

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.