Complicated question with a (hopefully) simple answer.
I'm looking into FPDF to export a web-page to a PDF. The web-page has been formatted for Print media, but since print media can be kind of iffy with CSS/HTML rendered object, I was hoping exporting to a PDF and then printing would make for less of a design headache.
I've scrounged through the FPDF website and I'm not seeing a function for the one thing I was hoping to see. Some kind of include()
function. I see a bunch of lines about formatting content, which I'm hoping means
Am I over thinking this? Can I simply use include()
after the FPDF constructor and then any content from there in will be printed with the page?