=========== on_generate =========== .. py:function:: on_generate(report) **domain**: client **language**: python **class** :doc:`Report class ` Description =========== The **on_generate** event is triggered by the :doc:`generate ` method. Write the on_generate event handler to generate the content of the report. Use the :doc:`print_band ` method to print bands, defined in the report :doc:`template `. The **report** parameter is the report that triggered the event. See also ======== :doc:`Programming reports ` :doc:`Server-side report programming ` :doc:`Report templates ` :doc:`generate `