What PDF engine do you use?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yuri
    Member
    • Mar 2014
    • 8442

    What PDF engine do you use?

    11
    Dompdf
    63.64%
    7
    Tcpdf
    36.36%
    4

    The poll is expired.

    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.
  • esforim
    Active Community Member
    • Jan 2020
    • 2204

    #2
    domPDF only because it is 'new', honestly I haven't update PDF template since v6 since it too hard to get it look "good"

    Comment

    • DashingUno
      Member
      • Apr 2022
      • 45

      #3
      tcpdf only because of the sheer amount of work it would take to port everything to dompdf, if it wasnt for that - dompdf 100%

      Comment


      • DashingUno
        DashingUno commented
        Editing a comment
        The complex ones are broken for sure, if you are looking into compatibility issues, I will have time this week to check out what exactly breaks between dompdf/tcpdf, if that is something that can assist you in future development

      • yuri
        yuri commented
        Editing a comment
        I'm more concerned about hurdles our users may run into while migrating to Dompdf. Tcpdf is quite dated library, I'm not sure whether the author will eventually put out the new improved version. We are going to prioritize Dompdf support, Tcpdf will be a legacy, still supported but not that prioritized.

      • esforim
        esforim commented
        Editing a comment
        TCPDF - PHP PDF Library - https://tcpdf.org. Contribute to tecnickcom/tc-lib-pdf development by creating an account on GitHub.


        The next 'version' of TCPDF, when it be release candidate is unknown
    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #4
      Found two template online that look relative good with the neatness of it... something to start with. It uses Table format, unfortunately I don't have much use of it yet as it is for Invoice.

      For domPDF


      Click image for larger version

Name:	image.png
Views:	290
Size:	27.8 KB
ID:	101774

      Comment

      • shalmaxb
        Senior Member
        • Mar 2015
        • 1603

        #5
        I think it would be nice to post more examples here, so anyone can ee, what is possible. Will do a start:

        Invoice template from custom invoice entity (Sales Artwork)
        Engine: TCPDF, tables, conditional tags, no break inside an item, pagination, DIN A 4, Font: DejaVuSans

        I do not use the wysiwyg Editor. I prepare in an editor the HTML and then copy it to code view.

        Comment

        • yuri
          Member
          • Mar 2014
          • 8442

          #6
          A style parameter will be added in PDF Templates in v8.2: https://github.com/espocrm/espocrm/issues/2949
          If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

          Comment


          • esforim
            esforim commented
            Editing a comment
            My CSS level is as good as my coding skill.

            Will this change everything to be PDF to be (easily) beautified...?
        Working...