tags:

views:

437

answers:

2

I'm trying to generate a pdf file from html using dompdf0.6a and that works fine, but then i need to encrypt it for protection, but i get error

FPDF error: Unable to find xref table - Maybe a Problem with 'auto_detect_line_endings'

However if I use older dompdf versions it works fine. I guess it generates newer pdf version that fpdi doesn't support.

btw. I traced it to FPDI/pdf_parser.php:208 (inside method pdf_read_xref())

A: 

The latest development version of DOMPDF might fix this problem. This is an unofficial release, however, so support is limited. See the DOMPDF support group for more information.

BrianS