code: func (f *Fpdf) SetFooterFuncLpi(fnc func(lastPage bool)) {
  	f.footerFncLpi = fnc
  	f.footerFnc = nil
  }
docs: // SetFooterFuncLpi sets the function that lets the application render the page
  // footer. The specified function is automatically called by AddPage() and
  // Close() and should not be called directly by the application. It is passed a
  // boolean that is true if the last page of the document is being rendered. The
  // implementation in Fpdf is empty, so you have to provide an appropriate
  // function if you want page footers. fnc will typically be a closure that has
  // access to the Fpdf instance and other document generation variables.