---
title: "Events defined in Printing Management"
app: "Warehouse Insight"
section: "Developer"
last_updated: "2022-06-01"
url: "https://insight-works.com/kb/warehouse-insight/events-defined-in-printing-management/"
---

# Events defined in Printing Management

### Properties

| **Property** | **Value** |
| --- | --- |
| Object Type | Codeunit |
| Object Subtype | Normal |
| Object ID | 23044928 |
| Accessibility Level | Public |

### Events

#### OnBeforeHandlePrint()

OnBeforeHandlePrint event executes inside handlePrint procedure in Warehouse Insight’s Printing Management Codeunit before default print process proceeds. Boolean parameter pbHandled decides if the default process proceeds. Developers can customize and/or extend the default process for additional functionalities by subscribing to this event.

##### **Syntax**

OnBeforeHandlePrint(var ptrecEventParams: Record “IWX Event Param” temporary, var pbsOutput: BigText, var pbHandled: Boolean)

##### **Parameters**

| **Parameter** | **Type** | **Description** |
| --- | --- | --- |
| _ptrecEventParams_ | Record “IWX Event Param” | The event context with all variables from the scanner. |
| _pbsOutput_ | BigText | Bigtext variable to handle the output result from the overridden event. |
| _pbHandled_ | Boolean | Boolean variable to check if print is handled. Set the value to true to skip the default process. |
