Using a small Visual Basic script, you can send single events to any shared laser/inkjet printer on your network. Simply follow the steps below to setup a notification that will print records to a printer:
1. Installing the VBS File
Put the contents of the file eventprint.vbs (included in the sub chapter) into a text file and save it in a folder of your choice on all the computers from which you want to forward events to the printer. This step is important, the .vbs file will be executed by the EventSentry agent on every computer that is running the agent.
2. Configuring the VBS File
The VBS file uses two temporary files to send the document to the laser printer, both of which need to be configured in the VBS file if the default (C:\WINDOWS\TEMP) will not work for you.
3. Creating the process action
Add a new notification to EventSentry by right-clicking the Actions container and selecting "Add Action". Select "Process" for the notification type and configure the options similar to the options shown in the screenshot below:
You will most likely have to change the values for the Arguments field which points to the actual .vbs file and to the shared printer.
4. Add one or more filters
Finally add one or more filters to match the events you want to send to the printer of your choice and the setup is complete.
Please note that events sent to laser and/or inkjet printers can only be print one event per page due to the nature of the process action. |