MaxiCode ZPL Examples... (Must have x.8.1 Firmware or higher )

MaxiCode for Puerto Rico. Click here for information.

Download ZPL manual for details

Mode 2:

Requirements;

Mode 2 Postal Code must be 9 numeric characters no more, no less.  Non numeric characters are not allowed, only numbers (0 to 9).  Use zero's (0) to pad to 9 characters if there is only the first 5 characters of the Postal Code used.  At this time it only works with the US Country Code (840).  Other country codes must use Mode 3.

Sample code: 5 digit numeric US postal (zip) code padded with 4 zero's (0).  (Country code is 840.  Zip Code is 10045-0000)

^BD2^FH^FD002840100450000_5B)>_1E01_1D961Z00136071_1DUPSN_1D123X56
_1D028_1D_1D001/001_1D011_1DN_1D_1DNEW YORK_1DNY_1E_04^FS

Note: Do not wrap the line.  Sample above is wrapped because of web page limitations.

 

Mode 3:

Requirements;

Mode 3 Postal Code must be 6 characters long, alpha or numeric, and/or spaces at the end.  Country Code can be any valid non US Country Code.

Sample code: 4 digit alpha-numeric UK postal code, padded with 2 trailing spaces to equal 6 characters.  (Country Code is 826.  Postal Code is RS19 followed by two spaces)

^BD3^FH^FD066826RS19  _5B)>_1E01_1D961Z00136111_1DUPSN_1D123X56
_1D057_1D_1D001/001_1D011_1DN_1D_1DWEST SWINDON_1D_1E_04^FS

Note: Do not wrap the line.  Sample above is wrapped because of web page limitations.

MaxiCode for Puerto Rico

With firmware versions older then 42.12.2b the Mode must be set for Mode 3 in order to work.
Mode ^BD3, 630 country code, 5 digit postal code 00901, followed by a space.

^BD3^FH^FD00163000901 [)>_1E01_1D961Z00004951_1DUPSN
_1D06X610_1D159_1D1234567_1D1/1_1D20_1DY
_1D634 ALPHA DR_1DSAN JUAN_1DPR_1E_04^FS 

With firmware versions 42.12.2b and newer XiIIIPlus Only!  Mode 2 can be used.
^BD (default value is Mode 2)
630 country code, 5 digit postal code 00901, 0000 must be entered for the 4 digit postal code extension if the extension is not known.

^BD^FH^FD001630009010000[)>_1E01_1D961Z00004951_1DUPSN
_1D06X610_1D159_1D1234567_1D1/1_1D20_1DY
_1D634 ALPHA DR_1DSAN JUAN_1DPR_1E_04^FS