Views:

Product: LABELVIEW, CODESOFT

Version: All Versions

 

In order to print by scanning a barcode into the TEKLYNX product, you will need to prepare your data sources and User-Interface properly. Below are the steps to produce this function.

1. Create a When Printed Field.

2. Setup your When Printed field with a data source name relevant to the data you will be scanning. For this example we chose "Barcode", as we will be scanning barcodes to enter our data.

3. Next, you will want to create a phrase that will let the end user know how to enter the data. This will be done on the When Printed tab within the data source. 

NOTE: It is important to note that the 'Display in Form" checkbox is selected. If it is not, it will not appear in the Form.

4. Once you have finished customizing your When Printed field Properties, you will need to enable the Form. It can be located on your Main Title Bar or by pressing the F12 button on your keyboard.

5. Next, open the form, right click on the form, and click on Form Customization.

6. When you have the Form Customization window open, you will need to select the option to Print When Enter Key is Pressed.
Now that you have set up your Form properly, if your barcode that you are scanning has a Carriage Return ({CR}) at the end of the string of data, it will print one (1) label automatically. 

NOTE: It is important to note that this will ONLY work if the barcode has a Carriage Return at the end of the string of data. If your barcode/barcode scanner does not come with a Carriage Return built in to the process already, please continue and follow the steps below.

7. Create a Formula.

NOTE: It is highly recommended to use the name of the Data source you are attempting to manipulate with the Formula expression with the addition of "Formula" at the end to easily identify which Formula is affecting which Data source.

8. Create your Formula including your When Printed Field and the Char() function.

9. Finally, you may test your scan once you have selected the data entry box in the Form for your desired When Printed field. In this example, it would be "Enter Scan:" in the Form.

EXAMPLE EXPLANATION:

SYMBOLOGY: Code128 Linear Barcode

DATA: 123456789987654321 & char(13)   

{successful print job of 1 label automatically with the string of data 123456789987654321}

NOTE: Please note that the ASCII function for the Carriage Return is the Char() function with the decimal integer of thirteen (13)