Button actions allow you to add the selected behavior executed when clicked by the application user. The button gives you possiblity to add multiple actions to be triggered at the same time.
To add action to the button, select it on the application designer (1), go to the options of the widget, and then add the action by using add action button(2). Selecting the type of an action is possible by clicking on the drop-down list (3), to remove an action click delete button (4).
From now, every click on the button will execute added by us print action.