Setting Label and Printer Names from Input Data
Typically, filters extract values from the received data and send them to label variables for printing. In such cases, label or printer names are hard-coded into the actions. For example, Open Label action hard-codes the label name, and Set Printer action hard-codes the printer name. However, the input data can also provide
To use the values of meta-data fields in the print process, do the following.
Filter reconfiguration: Define new fields for the input data to extract the meta-data fields as well.
Variable definition: Manually define the variables to store the meta-data since they don't exist on the label and cannot be imported. Use intuitive names, such as LabelName, PrinterName, and Quantity. You are free to use any variable name.
Mapping reconfiguration: Manually configure the Use Data Filter action to map meta-fields to new variables.
Action reconfiguration: Reconfigure Open Label action to open the label specified by variable LabelName, and Set Printer action to use the printer as specified by the PrinterName variable.
The CSV file contains label data, but also provides
label_name;label_count;printer_name;art_code;art_name;ean13;weight label1.nlbl;1;CAB A3 203DPI;00265012;SAC.PESTO 250G;383860026501;1,1 kg label2.nlbl;1;Zebra R-402;00126502;TAGLIOLINI 250G;383860026002;3,0 kg