Configuration of input equipment
For most sites, the input equipment is a barcode scanner. However, it is also possible to use a magnetic stripe reader (MSR)/credit card swipe.
When using a barcode scanner to scan Validation Items, it is necessary to either add a % prefix to the scanners or to add the % prefix to the barcodes of the items that are scanned. The former method is preferred as it requires the least change. Additionally, changing the format of the barcode could cause problems if the barcode is used for anything else (e.g., discount card, etc.).
Note: GateKeeper module always needs the % prefix whether the barcode is encrypted or not.
The method of adding a prefix to a barcode scanner depends on the model of scanner that is being used. Generally they are added by scanning barcodes in the manual. Other models require the use of a utility from the manufacturer. Consult the documentation for information on configuration.
Also, most barcode scanner models are available with different interfaces: serial, USB, PS/2, etc. Because of this, the scanner and the interface cable are often sold separately. When the cable is connected to the scanner, it is usually necessary to “tell” the scanner what kind of cable is connected. This is generally done by scanning a barcode specific to the interface and is available in the manual that comes with the scanner. Before this is done, the scanner does not operate.
Almost all MSRs do need to be programmed to function with Salesware applications in any use. This is because different manufacturers ship them with different default configurations. For example, most MSRs have a “carriage return” at the end or often between tracks. A carriage return is the equivalent of pressing Enter on the keyboard.
Here is the format that an MSR needs to be programmed to:
%<track1>?;<track2>?;<track3>?
Note: Not all MSRs can read track 3 and it is not generally used.
The % at the beginning of the track1 is the header for that track (tracks 2 and 3 use ;). The ? at the end of each track is the terminator.
As mentioned before, most MSRs need to be programmed to put the output into this proper format. How this is done is dependent on the brand, model and interface of the MSR. With USB interface models, this always requires the use of a utility to program them. With PS/2 models, some use a utility, while others can be programmed using the keyboard connected to it. Consult the documentation for your unit.