======================
on_before_print_report
======================

on_before_print_report(report)

**domain**: client 

**language**: javascript

**class** :doc:`Report class </refs/client/report_api>`

Description
===========

The ``on_before_print_report`` event is triggered by the 
:doc:`process_report <m_process_report>`
method. Use ``on_before_print_report`` to take specific actions before sending
request to the server to generate the report.

The ``report`` parameter is the report that triggered the event.

See also
========

:doc:`Client-side report programming </programming/reports/client_side_programming>`

:doc:`process_report <m_process_report>`



