Barcode definitions
Barcode Definitions
Major Changes
The 'InvalidBarcode'
has been replaced by the 'NotAllowedBarcode'
. You can still define your barcodes using the 'InvalidBarcodeDefinitions'
parameter, but in the logging, you will see a 'NotAllowedBarcode'
scan.
The reason for this is that we are using the term InvalidBarcode
for a barcode which is not correct. For example, when a digit is missing, or the checksum is not correct.
In addition to barcode definitions, barcode expressions can also be used. These barcode expressions can be specified the same way that a barcode definition is but it uses regular expressions which means that text based data can also be checked against barcode definitions. To use Barcode expressions replace Definition(s)
in the parameter name with Expression(s)
, fields can be specified in the same way.
I.e.: CancelBarcodeExpression = 'cancel', QR code with data 'cancel' will be specified
Recommended to use for cancelTicket
, showErrors
and showAppInfo
.
Barcode Types
The My-Scan 5 apps can distinguish the following barcode types. The definitions are done in the same way as you are used to in My-Scan 4.0.
Barcode Type | Barcode Definition Parameter Name | Example Definition | Comments |
---|---|---|---|
AttendantCard | AttendantCardBarcodeDefinitions | 999005XXXXXXXX|X:Data;888001XXXXXXXX|X:Data | This replaces the HostessBarcodeDefinitions! |
CancelTicket | CancelBarcodeDefinitions | ||
CustomerCard | CustomerCardBarcodeDefinitions | ||
EndOfTicket | EndOfTicketBarcodeDefinitions | 2700D0000NNN3|D:EotType,N:POSNumber | |
ForceRescan | ForceRescanBarcodeDefinitions | 2955555xxx0NNN|x:Data,N:POSNumber,EotType=1 | |
Item | NotAllowed | InvalidBarcodeDefinitions | NotAllowedBarcodeDefinitions |
Price | PriceBarcodeDefinitions | 02aaaavpppppc|a:ItemId,v:PriceCheckDigit,p:SalePrice[2],NoDuplication=1|02aaaa000000c | |
Wall | WallBarcodeDefinitions | 999001TNNPPPPP|T:WallType,N:WallNumber,P:Position | |
Weight | WeightBarcodeDefinitions | 28aaaaxxwwwww|a:ItemID,x:Data,w:Weight | |
VirtualItem | VirtualItemBarcodeDefinitions | 992559xxxxxxx|Visible=0,SendToPos=0,Unique=0,CanRescan=0,ItemMessage=001,CountItem=0 | |
ShowErrors | ShowErrorsBarcodeDefinition | ShowErrorCodeInfo | When this QR code is scanned a pop-up appears with all possible failures. |
ShowAppInfo | ShowAppInfoBarcodeDefinitions | appinfo | When this QR code is scanned a pop-up appears with information about the application. |