We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33453
    • 141 Posts
    Is there anyone with any experience of XML -> PDF conversion using XSL:FO who can point me in the direction of a cheap, quick, and easy solution?

    I have 1 week and no budget to do this sad.

    I have looked at html2pdf, but this requires that the exec() function can be used and my current ISP won’t allow it.

    I have modest experience with XSL stylesheets and translations, but not a clue regarding PDFs.

    Thanks.
      • 25663 MODX Staff
      • 12,272 Posts
      I believe XSL-FO needs FOP which requires Tomcat (an Apache JSP implementation).
        Ryan Thrash, MODX Co-Founder
        Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
        • 33175
        • 711 Posts
        Hi,

        Few years ago I generated PDF but I don’t remember any more with wich library I worked. I tested : http://sourceforge.net/projects/pdf-php and FPDF.
        It seems to me that ultimately I used FPDF.

        Regards.
          Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
          • 33453
          • 141 Posts
          Ryan: I’d forgotten about FOP - that’s probably a no-no with my current ISP as well.

          Guillame: FPDF looks very promising - I shall give that some attention.

          Thanks very much guys.
            • 6726
            • 7,075 Posts
            FPDF is something I have meant to add to the wishlist, it’s a must have feature... If you come up with a plugin, would be great !
              .: COO - Commerce Guys - Community Driven Innovation :.


              MODx est l'outil id
              • 33453
              • 141 Posts
              Quote from: davidm at May 31, 2006, 06:45 PM

              FPDF is something I have meant to add to the wishlist, it’s a must have feature... If you come up with a plugin, would be great !

              Now there’s a thought .... grin
                • 33175
                • 711 Posts
                I think of a plugin since one moment, but for lack of time… it is yet only one thought
                  Sorry for my english. I'm french... My dictionary is near me, but it's only a dictionary !
                  • 400
                  • 40 Posts
                  that is also good - http://html2fpdf.sourceforge.net/
                    • 22815
                    • 1,097 Posts
                    Interesting - has anyone made any progress on such a plugin?
                      No, I don't know what OpenGeek's saying half the time either.
                      MODx Documentation: The Wiki | My Wiki contributions | Main MODx Documentation
                      Forum: Where to post threads about add-ons | Forum Rules
                      Like MODx? donate (and/or share your resources)
                      Like me? See my Amazon wishlist
                      MODx "Most Promising CMS" - so appropriate!
                      • 33453
                      • 141 Posts
                      Paul,

                      I made a start on it using info from the links that the others mentioned, but had a problem with each of them.

                      It’s on the back burner for now.