Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF: Dompdf engine #2564

Closed
yurikuzn opened this issue Jan 14, 2023 · 5 comments
Closed

PDF: Dompdf engine #2564

yurikuzn opened this issue Jan 14, 2023 · 5 comments
Assignees
Milestone

Comments

@yurikuzn
Copy link
Contributor

yurikuzn commented Jan 14, 2023

Dompdf has much better CSS support than the Tcpdf engine Espo currently uses.

Engine can be switched at Administration > Settings > PDF Engine.

Limitations:

  • No mass print into a single PDF. Multiple PDFs are zipped instead.
  • No ability to print a total number of records (in footer & header).
  • Barcode text, padding, bg color do not work. Can be easily achieved by adding needed code in a template.
@yurikuzn yurikuzn added this to the Version 7.4.0 milestone Jan 14, 2023
@yurikuzn yurikuzn self-assigned this Jan 14, 2023
@yurikuzn
Copy link
Contributor Author

6339690

@allahcurse
Copy link

Does that mean that we will also get Inline PHP support? (Its a part of Dompdf)

@yurikuzn
Copy link
Contributor Author

Never, unless you customize it. It would be a security disaster.

@o-data
Copy link
Contributor

o-data commented Mar 30, 2023

Is it possible to have both button available so we can choose Engine it use at Print to PDF instead of having to switch engine each time.

@yurikuzn
Copy link
Contributor Author

Not possible.

@espocrm espocrm locked and limited conversation to collaborators Apr 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants