问题描述
我一直在尝试使PHP程序使用FPDF使用数据库中的数据自动填充PDF文件,但出现此错误
I've been trying to make PHP program to autofill PDF files using data from database using FPDF, but I get this error
我一直在寻找一种免费程序,该程序不会留下水印或修改PDF以删除快速Web视图",但找不到该程序.有什么方法可以禁用它吗?
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?
推荐答案
所有有效的线性化(快速Web视图)PDF也是有效的非线性化PDF,因此很难理解FPDF为什么会抱怨-最糟糕的是产生未线性化的输出文件.
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.
我们的 cpdf 工具可以轻松删除线性化:
Our cpdf tool can remove linearization easily:
cpdf in.pdf -o out.pdf
应该这样做.
这篇关于在PDF文件上禁用快速Web查看的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!