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

    So i am new to the pd4ml and am currently looking to it for a print solution to an existing android app. Currently we are passing a bunch of variables and dynamically creating an html string (not url) we would like to then use pd4ml to convert the HTML string to a pdf and save it to the sdcard.

    quickly scanning the documentation i don’t see any reference to using html as a string as oppose to a file. can someone point me to a demo of such use?


    You need to wrap the string to a StringReader and trigger a corresponding render() method. If the HTML has relative references, you’d need to pass base URL parameter.

    Actually I wonder if PD4ML works on Android at all – we never considered it as a target platform. We would appreciate if you share your PD4ML+Android experience with us.

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

The forum ‘General questions / FAQ’ is closed to new topics and replies.