- This line was added.
- This line was removed.
- Formatting was changed.
A key sequence is typically used where the user wants to invoke a specific keyboard action when reading the data from a barcode with a barcode scanner. Requirements to encode a key sequence within a barcode are outlined in the following.
Symbology must be Code 39. Do Not Use Code 39 (Full ASCII).
The desired scan output of a barcode using a Wedge barcode scanner needs to have an 'ALT'+C sequence encoded in the data when read by the scanner. The 'ALT' key is represented in a barcode field formula using the '$L' literal string.
|Wedge Barcode Scanner|
|Wedge Reader Conversion Chart. Fig.1||To determine this, refer to the Wedge Reader Conversion Chart (Fig.1) in the Loftware Label Manager User Guide (access through Design32 Help Menu). The 'ALT' keyboard value is represented as ASCII 'FF' in this chart.|
Next referencing the ASCII Code 39 Reference Table (Fig.2) in the same guide (access through Design32 Help Menu). The ASCII value 'FF' is represented as '$L' in the Code 39 conversion. The barcode label field formula would have to contain a '$L' & 'C' as part of the formula to produce the required output. In addition the user would need to enable Code 39 Full ASCII on their wedge or serial barcode scanner.
Test_Input & "$L" & "C" & "STATIC"
|ASCII Code 39 Reference Table Fig.2|
The example to follow demonstrates the use of the code "$M" character encoding in a barcode formula.
How to Construct a Barcode Containing a Keystroke Character:
- Create a label and add a barcode
- Set the barcode Symbology to Code 39 (not Code 39 (Full ASCII))
- Set the Max # Char to - 15
- Set the barcode Data Source to Formula
- Create the formula (as shown) using "$M" to represent the 'Enter' (carriage return) key
Test_Input & "$M" & "STATIC"
- Add a text box and name it "Test_input".
- Go to View | On Demand Print
- Enter the word INPUT in to the field "Test_Input"
- Print the the label
- Test with a barcode scanner that has Code 39 Full ASCII enabled
The scan results should show output like this:
Note title Note 'INPUT' would be the keyboard entry used when printing the label; the "$M" represents a carriage return, which moves the next data segment, 'STATIC', to the next line in the actual scan output.
|Content by Label|
LLM 10.x, 11.x
All supported LLM/LPS environments
This table provides information that is visible only to Loftware users.