close.mdApril 12, 2015 ยท View on GitHubclose fpdf.close() Description Terminates the PDF document. It is not necessary to call this method explicitly because output does it automatically. If the document contains no page, add_page is called to prevent from getting an invalid document. See also open, output.