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

    Hello Team,

    First i say thanks to all your team to reply my query for previous topic.

    Now when integrate PD4ml Pdf Generation Concept on my live server then an Error Is occurred: “Unhandled MIME type: “application/octet-stream” . I have use Linux server.

    and write following code in to pd4ml.php

    stderr.txt’ commend line suffix

    // UNIX version
    passthru(‘java -Xmx512m -Djava.awt.headless=true -cp .:pd4ml_demo.jar Pd4Php ” . $_POST . ” 840 A4 -ttf ./fonts 2>>stderr.txt’);
    // Windows version
    //passthru(‘java -Xmx512m -cp .;pd4ml_demo.jar Pd4Php ‘ . $_POST . ‘ 800 A4’);

    } else {
    echo ‘invalid usage’;

    Please Reply me ASAP.

    Thanks in advance.



    Obviously the problem is caused not by PD4ML, but by the server configuration.

    Hopefully the info from the page will help:

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

The forum ‘PD4ML Tips & Tricks’ is closed to new topics and replies.