MCMD Command

Navigation:  Print Control Parameters > 2D Barcodes > MaxiCode >

MCMD Command

Previous pageReturn to chapter overviewNext page

This command is used to specify the mode for MaxiCode barcode.

Command

Description

MCMD=2

Mode 2

MCMD=3

Mode 3

MCMD=4

Mode 4

MCMD=5

Mode 5

 

 

 

Remarks:

An example of control character sequence to print MaxiCode barcodes:

 bC=MC, R=0, MCMD=3, MCHT=0, D=

 

 

 

If the barcode string is properly formatted and begins with the 7 characters "[)><RS>01<GS>",  the values of zip code, country code and service class can be embedded in that string.

 

 

For example, let's pass the following string to the Barcode DLL for SAP ERP:

 

[)><RS>01<GS>9615238<GS>840<GS>001<GS>AIM, Inc<GS>634 Alpha Drive<GS>Pittsburgh<GS>PA<RS><EOT>

 

In this format, the identifier "[)><RS>01<GS>" is followed by a date (YY), in this example, it is "96".

 

 

 

The above data is encoded in a particular manner as follows:

 

1) The first 9 data characters [)><RS>01<GS>YY are extracted

 

2) The next 3 data elements separated by <GS>, representing respectively the zip code, country code and service class, are extracted and encoded in the primary message. In this example, they are 15238, 840 and 001.

 

3) The remaining string preceded with [)><RS>01<GS>YY is encoded in the secondary message. In this example, it is

 

      [)><RS>01<GS>YYAIM, Inc<GS>634 Alpha Drive<GS>Pittsburgh<GS>PA<RS><EOT>

 

 

<RS>, <GS> and <EOT> indicate 3 characters with ASCII values 30, 29 and 4 respectively.

 

 

See Also:

 Edit A Print Control