Skip to command documentation
Supportedbarcoderasterfield scope
^BM

MSI Bar Code

^BM configures mSI Bar Code. It applies to the current field and can change pixels in the rendered label.

Syntax
^BMo,e,h,f,g,e2
o

Orientation

Sets orientation. It can be omitted when the documented default is suitable.

Default
current ^FW value
Required
No
Documented valuesNRIB

o variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

o = N

Uses N for orientation while the other command values stay at representative defaults.

ZPLcaret-bm-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = R

Uses R for orientation while the other command values stay at representative defaults.

ZPLcaret-bm-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMR,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = B

Uses B for orientation while the other command values stay at representative defaults.

ZPLcaret-bm-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMB,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
e

Check digit selection

Sets check digit selection. It can be omitted when the documented default is suitable.

Default
B
Required
No
Documented valuesBACD

e variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison3 variations

e = A

Uses A for check digit selection while the other command values stay at representative defaults.

ZPLcaret-bm-e-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,A,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

e = B

Uses B for check digit selection while the other command values stay at representative defaults.

ZPLcaret-bm-e-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

e = D

Uses D for check digit selection while the other command values stay at representative defaults.

ZPLcaret-bm-e-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,D,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Barcode height (in dots)

Sets barcode height (in dots). It can be omitted when the documented default is suitable.

Default
value set by ^BY
Range
1–32000
Required
No
Documented values100132000

h variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

h = 100

Uses 100 for barcode height (in dots) while the other command values stay at representative defaults.

ZPLcaret-bm-h-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 1

Uses 1 for barcode height (in dots) while the other command values stay at representative defaults.

ZPLcaret-bm-h-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,1,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
f

Print interpretation line

Sets print interpretation line. It can be omitted when the documented default is suitable.

Default
Y
Required
No
Documented valuesYN

f variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

f = N

Uses N for print interpretation line while the other command values stay at representative defaults.

ZPLcaret-bm-f-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,N,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

f = Y

Uses Y for print interpretation line while the other command values stay at representative defaults.

ZPLcaret-bm-f-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
g

Print interpretation line above code

Sets print interpretation line above code. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

g variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

g = N

Uses N for print interpretation line above code while the other command values stay at representative defaults.

ZPLcaret-bm-g-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

g = Y

Uses Y for print interpretation line above code while the other command values stay at representative defaults.

ZPLcaret-bm-g-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,Y,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
e2

Inserts check digit into the interpretation line

Sets inserts check digit into the interpretation line. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

e2 variations

Compare values side by side; other parameters remain at representative defaults.

Side-by-side comparison2 variations

e2 = N

Uses N for inserts check digit into the interpretation line while the other command values stay at representative defaults.

ZPLcaret-bm-e2-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,N
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

e2 = Y

Uses Y for inserts check digit into the interpretation line while the other command values stay at representative defaults.

ZPLcaret-bm-e2-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BMN,B,100,Y,N,Y
^FD123456^FS
^FO28,318^A0N,22,22^FDCaret BM parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

Primary source

Official Zebra reference

Use the manufacturer reference for printer- and firmware-specific behavior beyond ZPLr’s pinned rendering profile.

Open Zebra documentation