Skip to command documentation
Supportedbarcoderasterfield scope
^BF

MicroPDF417 Barcode

^BF configures microPDF417 Barcode. It applies to the current field and can change pixels in the rendered label.

Syntax
^BFo,h,m
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-bf-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFN,3,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF 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-bf-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFR,3,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF 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-bf-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFB,3,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Bar code height (in dots)

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

Default
value set by ^BY or 10 (if no ^BY value exists)
Range
1–9999
Required
No
Documented values1001019999

h variations

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

Side-by-side comparison3 variations

h = 100

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

ZPLcaret-bf-h-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFN,100,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 10

Uses 10 for bar code height (in dots) while the other command values stay at representative defaults.

ZPLcaret-bf-h-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFN,10,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 1

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

ZPLcaret-bf-h-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFN,1,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
m

Mode

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

Default
0 (see Table 1 )
Range
0–33
Required
No
Documented values033

m variations

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

Side-by-side comparison2 variations

m = 0

Uses 0 for mode while the other command values stay at representative defaults.

ZPLcaret-bf-m-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFN,3,0
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

m = 33

Uses 33 for mode while the other command values stay at representative defaults.

ZPLcaret-bf-m-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BFN,3,33
^FDABC^FS
^FO28,318^A0N,22,22^FDCaret BF 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

ZPLr Command Reference

Independent documentation for the pinned ZPL II 2025 renderer profile. Examples run locally in your browser.

ZPL, ZPL II, Zebra, and Zebra Programming Language are trademarks or registered trademarks of Zebra Technologies Corp. ZPLr is independent and is not affiliated with or endorsed by Zebra Technologies Corp.