mPDF Manual – What Else Can I Do

Overwriting existing files

(mPDF >= 2.3)

Using the class extension (mPDFI), an existing PDF file can be overwritten, replacing specified text with alternatives. For example you may have created a long complex PDF file, and you wish to produce copies with an individual number on each copy without having to re-generate the whole document each time.

See

  • OverWrite() - Replace specified text strings in an existing PDF file
  • mPDFI() - Class constructor for importing files and templates