Skip to command documentation
Supportedbarcoderasterfield scope
^B7

PDF417 Bar Code

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

Syntax
^B7o,h,s,c,r,t
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-b7-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 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-b7-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7R,3,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 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-b7-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7B,3,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h

Bar code height for individual rows (in dots)

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

Default
value set by ^BY This number multiplied by the module equals the height of the individual rows in do
Required
No
Documented values1000

h variations

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

Side-by-side comparison2 variations

h = 100

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

ZPLcaret-b7-h-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,100,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h = 0

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

ZPLcaret-b7-h-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,0,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
s

Security level

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

Default
0 (error detection only) This determines the number of error detection and correction code words to
Range
1–8
Required
No
Documented values018

s variations

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

Side-by-side comparison3 variations

s = 0

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

ZPLcaret-b7-s-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

s = 1

Uses 1 for security level while the other command values stay at representative defaults.

ZPLcaret-b7-s-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,1,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

s = 8

Uses 8 for security level while the other command values stay at representative defaults.

ZPLcaret-b7-s-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,8,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
c

Number of data columns to encode

Sets number of data columns to encode. It can be omitted when the documented default is suitable.

Default
1:2 (row-to-column aspect ratio) You can specify the number of code-word columns giving control over
Range
1–30
Required
No
Documented values0130

c variations

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

Side-by-side comparison3 variations

c = 0

Uses 0 for number of data columns to encode while the other command values stay at representative defaults.

ZPLcaret-b7-c-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,0,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

c = 1

Uses 1 for number of data columns to encode while the other command values stay at representative defaults.

ZPLcaret-b7-c-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,1,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

c = 30

Uses 30 for number of data columns to encode while the other command values stay at representative defaults.

ZPLcaret-b7-c-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,30,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
r

Number of rows to encode

Sets number of rows to encode. It can be omitted when the documented default is suitable.

Default
1:2 (row-to-column aspect ratio) You can specify the number of symbol rows giving control over the h
Range
3–90
Required
No
Documented values0390

r variations

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

Side-by-side comparison3 variations

r = 0

Uses 0 for number of rows to encode while the other command values stay at representative defaults.

ZPLcaret-b7-r-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,0,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

r = 3

Uses 3 for number of rows to encode while the other command values stay at representative defaults.

ZPLcaret-b7-r-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,3,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

r = 90

Uses 90 for number of rows to encode while the other command values stay at representative defaults.

ZPLcaret-b7-r-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,90,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
t

Truncate right row indicators and stop pattern

Sets truncate right row indicators and stop pattern. It can be omitted when the documented default is suitable.

Default
N
Required
No
Documented valuesNY

t variations

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

Side-by-side comparison2 variations

t = N

Uses N for truncate right row indicators and stop pattern while the other command values stay at representative defaults.

ZPLcaret-b7-t-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,8,N
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

t = Y

Uses Y for truncate right row indicators and stop pattern while the other command values stay at representative defaults.

ZPLcaret-b7-t-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^B7N,3,0,6,8,Y
^FDPDF417 FROM ZPLR^FS
^FO28,318^A0N,22,22^FDCaret B7 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