spipu / html2pdf

OFFICIAL PROJECT | HTML to PDF converter written in PHP
http://html2pdf.fr/en/default
Open Software License 3.0
1.68k stars 749 forks source link

Can't open generated pdf #713

Closed SebastienBacs closed 2 years ago

SebastienBacs commented 2 years ago

Hello,

with this simple code I seems unable to open the test.pdf that I generated image

Currently the loop happens only once and the generated test.pdf can not be opened. As this is a very basic test I am not sure if I am missing something? This code is executed on Linux Ubuntu 20.04 from a command line