May-01-2021, 06:38 PM
Hi
I have a csv file that I converted to a pdf file using fpdf.
If I set the orientation using Code 1 my page is converted into landscape, but the header and footer do not show up.
If I set the orientation using Code 2, my page stays at the default portrait orientation and
the header and footer are displayed.
Don't know what is wrong
I have a csv file that I converted to a pdf file using fpdf.
If I set the orientation using Code 1 my page is converted into landscape, but the header and footer do not show up.
If I set the orientation using Code 2, my page stays at the default portrait orientation and
the header and footer are displayed.
Don't know what is wrong
from fpdf import FPDF # Code 1 pdf = FPDF("L", "mm", "Letter") # Code 2 pdf = PDF("L", "mm", "Letter")