mPDF Manual – What Else Can I Do

Overwriting existing files

(mPDF ≥ 2.3)

Using Overwrite() function, 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.

Use first SetImportUse() to enable pdf import functions.

See

• OverWrite() - Replace specified text strings in an existing PDF file
• SetImportUse() - Enable functions to import PDF files into document