Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

PDF/A with ZUGFeRD

In this example, a PDF/A-3b document is created, which can be used, for example, for an e-invoice (ZUGFeRD / Factur-X). It is important that the fonts are embedded into the PDF and that an XML file is provided.

<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
      xmlns:f="http://typo3.org/ns/fluid/ViewHelpers"
      xmlns:fpdf="http://typo3.org/ns/CodingMs/FluidFpdf/ViewHelpers"
      data-namespace-typo3-fluid="true">
<fpdf:pdfA>
    <fpdf:addPage>
        <fpdf:addFont family="Regular" style="N" filename="ubuntu_n.php" />
        <fpdf:addFont family="Regular" style="B" filename="ubuntu_b.php" />
        <fpdf:addFont family="Regular" style="I" filename="ubuntu_i.php" />
        <fpdf:addFont family="Regular" style="BI" filename="ubuntu_bi.php" />
        <fpdf:addFont family="Monospace" style="N" filename="ubuntumono_n.php" />
        <fpdf:addFont family="Monospace" style="B" filename="ubuntumono_b.php" />
        <fpdf:addFont family="Monospace" style="I" filename="ubuntumono_i.php" />
        <fpdf:addFont family="Monospace" style="BI" filename="ubuntumono_bi.php" />
        <fpdf:setFont family="Monospace" style="B" size="16" />
        <fpdf:cell width="40" height="10" text="Hello World!" />
        <fpdf:setXmlFile file="EXT:fluid_fpdf/Resources/Private/Php/zugferd/factur-x.xml" />
    </fpdf:addPage>
</fpdf:pdfA>
</html>
Documentation
TYPO3 Fluid-FPDF Extension

TYPO3 Fluid-FPDF

This extension provides you a complete set of ViewHelpers for dealing with FPDF by using Fluid. You can use the ViewHelpers easily in own Extensions just by defining the fpdf-Namespace. Additionally you're able to use the build in plugin, for displaying predefined PDF. This plugin offers you automatically all available PDFs.

Menu

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
JPJ_________RCG______
9_R____M____9_Z___R2I
XC3___ESE___L7Q______
__H____Y____W_6___Q62
S49_________34K______

🎄 Bereits für's Weihnachtsmarketing?! 🎉

Entdecke den interaktiven Online-Adventskalender – perfekt für Websites, Shops und Kampagnen.

Gewinnspiele, Quiz, Gutscheine & mehr – alles, was Dein Weihnachtsmarketing braucht.

Für TYPO3-Websites Für andere Systeme