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
Teach you how to print a PDF (simple application of fpdf ). The class used today is FPDF. the PHPClass of FPDF allows you to use pure PHP (more specifically, PDFlib is not required) to generate PDF files. It is displayed in PHPClass and accelerates
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 FPDF. The PHP Class FPDF allows you to use pure PHP (more specifically, PDFlib is not required) to generate PDF files. It is presented in PHP Class and accelerates the process of PDF documents in programming languages. It has
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
During the Olympics, I woke up with the idea that I would like to use PHP to print PDF files to record gold medals in various countries. Even if the Chinese team was so disappointing, I would have endured it.
The class used today is fpdf. The PHP
PhpFPDF class library application implementation code
The code is as follows:
Require ('Chinese. php ');
Class PDF extends pai_chinese
{
Function Header () // Set the Header
{
$ This-> SetFont ('GB', '', 10 );
$ This-> Write (10, 'XX company
PhpFPDF class library application implementation code
The code is as follows:
Require ('Chinese. php ');Class PDF extends pai_chinese{Function Header () // Set the Header{$ This-> SetFont ('GB', '', 10 );$ This-> Write (10, 'XX company product
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.