콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
4939 화면

Hello!


I try to build my own report ... but when I print, I get an empty PDF.

When I print as HTML, he show the lines.


Other reports are printing normal.


Any idea where I can look?


Thank you  

아바타
취소
베스트 답변

I have an idea. Make sure that in your report template you at least have the following three div's:

<div class="header"></div>
<div class="page"><!-- content in here --></div>
<div class="footer"></div>

If your report template doesn't have these div's, it will display in HTML, but not in PDF, because wkhtmltopdf needs to know where to find the header and footer of a report.

I hope that this fixes your problem. Please comment if this isn't the solution.

아바타
취소
관련 게시물 답글 화면 활동
1
10월 17
5178
1
7월 24
9213
0
1월 16
3502
PDF reports 해결 완료
5
7월 25
2403
Wrong PDF Format 해결 완료
2
3월 24
2944