Hi.
I have trouble with printing table inside the body of the e-mail. On ticket view table is looking good, there is 4 rows and 3 columns.
In created PDF file table rows and columns was replace by sign of new line.
Is there any possible to change table printing in PDF file to print table with columns and rows (not simply text)?
Print PDF
Moderator: crythias
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: Print PDF
The table in the view is HTML, but the PDF can only use the plain text version of a mail.
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Re: Print PDF
How about modyfing code? What function should i use to get oryginal version of emails?
Re: Print PDF
sure you can modify the code. But rendering a HTML format to PDF is quite complex. So I assume some week(s) of developers work
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: Print PDF
So better way is to not print to pdf but to the other printed view. The same problem is here, tables are removed.
Re: Print PDF
Does anyone know how to modify html view of printed ticket to print normal table, not replace with new line?