Disable Fast Web View on a PDF file

对着背影说爱祢 提交于 2020-01-01 19:46:26

问题


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:


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.



来源:https://stackoverflow.com/questions/18741208/disable-fast-web-view-on-a-pdf-file

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!