GS1 DataMatrix is a two-dimensional (2D) barcode which may be printed as a square or rectangular symbol made up of individual squares. This representation is an ordered grid of dark and light squares bordered by a finder pattern. The finder pattern is partly used to specify the orientation and structure of the symbol. The data is encoded using a series of dark or light squares based upon a pre-determined size. The size of these squares is known as the X-dimension.