Disable Fast Web View on a PDF file

5.7k views Asked by At

I've been trying to make PHP program to autofill PDF files using data from database using FPDF, but I get this error

FPDF-Merge Error: Fast Web View mode is not supported

I've been looking for a free program that doesn't leave watermarks or modify the PDF that removes the Fast Web View, but couldn't find one. Is there any way that I could disable it?

1

There are 1 answers

3
johnwhitington On BEST ANSWER

All valid linearized (Fast Web View) PDFs are also valid un-linearized PDFs, so it's hard to see why FPDF would complain - the worst it could do is produce an output file which is not linearized.

Our cpdf tool can remove linearization easily:

cpdf in.pdf -o out.pdf

ought to do it.