Print to PDF custom Background

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pmontanez
    Member
    • Dec 2016
    • 81

    Print to PDF custom Background

    Good Day Espo Community.

    I'm trying to create a report where the print to PDF Template has a custom background (Only this particular template, All other shouldn't be affected), I've been reading and I understand that TCPDF library allows this kind of method, But I'm not quite sure what files modify in Espo - Any help is much appreciated -

    Thanks.
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi,

    Here is the place where PDF is printed: https://github.com/espocrm/espocrm/b...es/Pdf.php#L81
    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

    • pmontanez
      Member
      • Dec 2016
      • 81

      #3
      yuri Thanks for above, but if I add the background picture here, then I guess that ALL print to pdf templates will have the same background and I just need it in one Template. I guess that I can pass it as a parameter on the Template function. Any Ideas? Thanks!

      Comment

      Working...