Skip to main navigation Skip to main content Skip to page footer

How to set an background PDF

Just use the fpdf:useTemplate-ViewHelper, for example:

<fpdf:pdf>
    <fpdf:addPage orientation="P" size="A4">
        <fpdf:setSourceFile file="EXT:fluid_fpdf/Resources/Private/Pdf/Normbriefbogen_DIN5008.pdf" />
        <fpdf:useTemplate pageNo="1" x="0" y="0" />
        <f:comment>
            // Your PDF content...
        </f:comment>
    </fpdf:addPage>
</fpdf:pdf>
Documentation

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