Skip to command documentation
Supportedbarcoderasterfield scope
^B5

Planet Code Barcode

^B5 configures planet Code Barcode. It applies to the current field and can change pixels in the rendered label.

Syntax
^B5o,h,f,g
o

Orientation code

Sets orientation code. 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 code while the other command values stay at representative defaults.

ZPLcaret-b5-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,100,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = R

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

ZPLcaret-b5-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5R,100,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

o = B

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

ZPLcaret-b5-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5B,100,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 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–9999
Required
No
Documented values10019999

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-b5-h-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,100,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 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-b5-h-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,1,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
f

Interpretation line

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

Default
N
Required
No
Documented valuesNY

f variations

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

Side-by-side comparison2 variations

f = N

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

ZPLcaret-b5-f-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,100,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

f = Y

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

ZPLcaret-b5-f-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,100,Y,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
g

Determines if the interpretation line is printed above the barcode

Sets determines if the interpretation line is printed above the barcode. 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 determines if the interpretation line is printed above the barcode while the other command values stay at representative defaults.

ZPLcaret-b5-g-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,100,N,N
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

g = Y

Uses Y for determines if the interpretation line is printed above the barcode while the other command values stay at representative defaults.

ZPLcaret-b5-g-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B5N,100,N,Y
^FD01234567890^FS
^FO28,318^A0N,22,22^FDCaret B5 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