Jun-03-2019, 03:32 PM
I have downloaded the FPDF package zip file but have no idea how to install it. I was hoping there would be an install program with it. Has anyone done this? The documentation is mute on this point.
Installing FPDF
|
Jun-03-2019, 03:32 PM
I have downloaded the FPDF package zip file but have no idea how to install it. I was hoping there would be an install program with it. Has anyone done this? The documentation is mute on this point.
I have Debian 10 with Python 3.7.
With "pip3 install fpdf" the sample below works OK: #!/usr/bin/python3 from fpdf import FPDF pdf = FPDF() pdf.add_page() pdf.set_font('Arial', 'B', 16) pdf.cell(40, 10, 'Hello World!') pdf.output('tuto1.pdf', 'F')See more: https://github.com/reingart/pyfpdf https://pyfpdf.readthedocs.io/en/latest/...index.html
Jun-04-2019, 12:26 AM
Beautiful! Works as advertised. Thank you.
Jun-04-2019, 04:58 AM
you are welcome.
|
|
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
Label Maker FPDF, Reportlab | jamesaarr | 1 | 4,177 |
Aug-09-2021, 11:57 PM Last Post: Pedroski55 |
|
fpdf orientation not working properly | KatMac | 1 | 4,729 |
May-02-2021, 10:47 AM Last Post: Pedroski55 |
|
fpdf star character issue | KatMac | 3 | 6,348 |
May-01-2021, 06:22 PM Last Post: KatMac |
|
fpdf adding a new font to my report | KatMac | 0 | 3,070 |
Apr-23-2021, 02:19 PM Last Post: KatMac |
|
ModuleNotFoundError: No module named 'fpdf' | KatMac | 4 | 15,104 |
Apr-19-2021, 01:23 PM Last Post: KatMac |
|
FPDF question | DPaul | 2 | 4,806 |
Oct-27-2020, 08:26 AM Last Post: DPaul |