Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python pdf fpdf example

from fpdf import FPDF

pdf = FPDF()
pdf.add_page()
pdf.set_xy(0, 0)
pdf.set_font('arial', 'B', 13.0)
pdf.cell(ln=0, h=5.0, align='L', w=0, txt="Hello", border=0)
pdf.output('test.pdf', 'F')
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #python #pdf #fpdf
ADD COMMENT
Topic
Name
6+4 =