Skip to main content

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 TypeBarcode Definition Parameter NameExample DefinitionComments
AttendantCardAttendantCardBarcodeDefinitions999005XXXXXXXX|X:Data;888001XXXXXXXX|X:DataThis replaces the HostessBarcodeDefinitions!
CancelTicketCancelBarcodeDefinitions
CustomerCardCustomerCardBarcodeDefinitions
EndOfTicketEndOfTicketBarcodeDefinitions2700D0000NNN3|D:EotType,N:POSNumber
ForceRescanForceRescanBarcodeDefinitions2955555xxx0NNN|x:Data,N:POSNumber,EotType=1
ItemNotAllowedInvalidBarcodeDefinitionsNotAllowedBarcodeDefinitions
PricePriceBarcodeDefinitions02aaaavpppppc|a:ItemId,v:PriceCheckDigit,p:SalePrice[2],NoDuplication=1|02aaaa000000c
WallWallBarcodeDefinitions999001TNNPPPPP|T:WallType,N:WallNumber,P:Position
WeightWeightBarcodeDefinitions28aaaaxxwwwww|a:ItemID,x:Data,w:Weight
VirtualItemVirtualItemBarcodeDefinitions992559xxxxxxx|Visible=0,SendToPos=0,Unique=0,CanRescan=0,ItemMessage=001,CountItem=0
ShowErrorsShowErrorsBarcodeDefinitionShowErrorCodeInfoWhen this QR code is scanned a pop-up appears with all possible failures.
ShowAppInfoShowAppInfoBarcodeDefinitionsappinfoWhen this QR code is scanned a pop-up appears with information about the application.