#Import the class FPDF from module fpdf. #Add a page. #Set the font. #Insert a cell and provide the text. #Save the pdf with “. pdf” extencsion.