A summary defined in a document template for printing using a certain formula.

You can define a formula using a calculation type field.