Barcode Printing Plug-in Actions
If the DataSplice barcode printing plug-in is installed on the system, it is then available as a call plug-in function action in the event chain settings section. This area is where the parameters of the barcode printing actions are defined.
Defining the Parameters and Details of a Barcode Printing Plug-in Action
- Select the view of interest.
- Select
Event Chain Settingsfrom the Configuration Section drop-down. - From the Select Chain drop-down, choose the type of event this action will be associated with, such as Insert or Update.
- Click the Create New Action button
. - In the resulting Create New Event Action dialog box, select
Call Plug-in Function.
- Select
Call Plug-in Functionfrom the list of basic actions to display the associated details. - Define the Event Details fields appropriately.
Option Name Description Provider Select Printing Plug-in.Function Group Select Default.Function Name Select PrintBarcode.Action Condition A Boolean expression that, when evaluated to trueorblank, will perform the defined barcode printing action. Leave this blank or set totrueto force this printing action to always execute in this event chain. This can be set to a condition if the printing action should only be executed if certain criteria are met. An example of this might be a requirement that a field namedBarcodeLabelsin the view must have some kind of a value in it; otherwise a barcode label should not be printed. To accomplish this, the Action Condition field would be set to${BarcodeLabels} is not null. Thus, when that field has a value entered in it, it is no longer null and the condition is met, in turn causing a barcode label to print.Continue on Failure Checkbox to specify if the action should continue processing if an error occurs during its execution. Action Description Free form field that allows administrators to keep notes describing this action.
- Define the Parameter Bindings appropriately. This section contains the parameters that are passed to the barcode printing plug-in function.
Parameter Name Description Printer Name The name of the barcode printer on the network, as specified in the DataSplice.Printing.dll.configfile located in theC:\Program Files\DataSplice3directory (unless a different path was specified during installation). Alternatively, this field can reference an attribute that has been previously set to a valid printer name.Template Name The name of the label template file without the xml extension. This file should reside in the C:\Program Files\DataSplice3\Barcode Label Templatesdirectory (unless a different path was specified upon installation). For example, if a file namedInventoryLabels.xmlexists in theC:\Program Files\DataSplice3\Barcode Label Templatesdirectory, then the Template Name parameter would be set toInventoryLabels. Alternatively, this field can reference an attribute that has been previously set to a valid template name.Count The number of labels to print in this action. This can be either an integer value, such as 1, or a field reference, such as${BarcodeLabels}, that will use the number entered by the user into theBarcodeLabelsfield as the number of labels to print.
- Click the Save Changes button
.
Last modified 2006-06-01 11:38 AM