Copy CodeThe code is as follows:
Require (' chinese.php ');
Class PDF extends Pdf_chinese
{
function header ()//Set Header
{
$this->setfont (' GB ', ', 10);
$this->write ("XX company product directory");
$this->ln (20); Line break
}
function Footer
The class used today is called Fpdf,fpdf this PHP class allows you to use pure PHP (or, more specifically, no pdflib) to generate PDF files. It shows and accelerates the process of PDF documents in the programming language with PHP class. Features
The class used today is called Fpdf,fpdf this PHP class allows you to use pure PHP (rather than using pdflib) to generate PDF files. It shows up in PHP class and accelerates the process of PDF documents in the programming language. Its features
Fpdf is "free pdf", Fpdf Class Library provides basic PDF creation function, its source code and the use of the right to be complimentary. This article mainly to share with you in PHP PDF page production method, hope to help everyone.
Document
I am using FPDF (www.fpdf.org). after downloading the fpdf class library, I also need to use the following Chinese library to support Chinese characters, but I can only use one Chinese font (文 ). For this reason, I have been worried for a long time,
: This article describes how to use PHP to create a PDF document. For more information about PHP tutorials, see. How to use PHP to create PDF documents
I am using FPDF (www.fpdf.org). after downloading the fpdf class library, I also need to use the
I used FPDF (www.fpdf.org) to create a PDF document in PHP. after downloading the fpdf class library, I also needed to use the following Chinese class library to support Chinese, however, only one Chinese font can be used ). For this reason, I have
I am using Fpdf (www.fpdf.org), after downloading the Fpdf class library, also use the following Chinese class library to support Chinese, but only one Chinese font (Chinese imitation) can be used. I've been worrying for a long time, and now I'm
Create | Chinese I am using fpdf (www.fpdf.org), download the Fpdf class library, and use the following Chinese class library to support Chinese, but only one Chinese font (Chinese imitation) can be used. I've been bothering for a long time, and now
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.