Product: LABELVIEW, CODESOFT
Version: All Versions
In order to print by scanning a barcode into the TEKLYNX product, you will need to properly prepare the data sources and User-Interface. Follow the steps below to configure this function.
1. Create a When Printed field.
/msdyn_blobfile/$value)
2. Set up the
When Printed field with a data source name that identifies the data being scanned.
For this example, the data source is named Barcode because barcodes will be scanned to enter the data.
/msdyn_blobfile/$value)
3. Create a phrase that tells the end user how to enter the data.
Configure this phrase on the When Printed tab within the data source.
NOTE: Make sure the Display in Form checkbox is selected. If it is not selected, the field will not appear in the Form.
/msdyn_blobfile/$value)
4. After customizing the
When Printed field properties, enable the Form.
The Form can be enabled from the Main Title Bar or by pressing F12 on the keyboard.
/msdyn_blobfile/$value)
5. Open the Form, right-click the Form, and select Form Customization.
/msdyn_blobfile/$value)
6. In the
Form Customization window, select
Print When Enter Key is Pressed.
After this option is enabled, scanning a barcode that has a Carriage Return ({CR}) at the end of the data string will automatically print one (1) label.
NOTE: This function will ONLY work if the barcode has a Carriage Return at the end of the data string. If the barcode or barcode scanner does not already provide a Carriage Return, continue with the steps below.
/msdyn_blobfile/$value)
7. Create a Formula.
NOTE: It is highly recommended to name the Formula using the name of the Data Source being manipulated, followed by Formula. This makes it easier to identify which Formula affects each Data Source.
/msdyn_blobfile/$value)
8. Create the Formula using the When Printed field and the Char() function.
/msdyn_blobfile/$value)
9. Test the barcode scan.
Select the data entry box in the Form for the desired When Printed field. In this example, the data entry box is labeled Enter Scan:.
Example Explanation
SYMBOLOGY: Code128 Linear Barcode
DATA: 123456789987654321 & char(13)
Expected Result: One (1) label prints automatically with the string of data 123456789987654321.
NOTE: The ASCII function for a Carriage Return is the Char() function with the decimal integer 13.