FPDF: Get the library used to generate PDF files in this article.
FPDF:获取生成本文所述pdf文件的库。
The first step is to download the FPDF library and install it in the same directory as the existing set of application files.
第一步是下载fpdf库,然后将其安装在与现有应用文件集相同的目录中。
From there, the script creates an FPDF object, sets the font, adds a page, puts some text on the page using the Cell method, and outputs the PDF.
这段脚本从该库创建了一个FPDF对象,设置字体,添加一个页面,然后使用Cell方法将一些文本放在该页面上,并输出pdf。
应用推荐