Skip to command documentation
Supportedbarcoderasterfield scope
^BT

TLC39 Barcode

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

Syntax
^BTo,w1,r1,h1,w2,h2
o

Orientation

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

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-bt-o-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT 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-bt-o-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTR,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT 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-bt-o-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTB,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
w1

Width of the Code 39 bar code

Sets width of the Code 39 bar code. It can be omitted when the documented default is suitable.

Default
(600 dpi printers): 4 Default: (200- and 300 dpi printer): 2
Range
1–10
Required
No
Documented values110

w1 variations

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

Side-by-side comparison2 variations

w1 = 1

Uses 1 for width of the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-w1-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

w1 = 10

Uses 10 for width of the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-w1-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,10,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
r1

Wide to narrow bar width ratio the Code 39 bar code

Sets wide to narrow bar width ratio the Code 39 bar code. It can be omitted when the documented default is suitable.

Default
2
Range
2–3
Required
No
Documented values23.02.0

r1 variations

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

Side-by-side comparison3 variations

r1 = 2

Uses 2 for wide to narrow bar width ratio the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-r1-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

r1 = 3.0

Uses 3.0 for wide to narrow bar width ratio the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-r1-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,3.0,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

r1 = 2.0

Uses 2.0 for wide to narrow bar width ratio the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-r1-3.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2.0,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h1

Height of the Code 39 bar code

Sets height of the Code 39 bar code. It can be omitted when the documented default is suitable.

Default
(600 dpi printer): 120 Default: (300 dpi printer): 60 Default: (200 dpi printer): 40
Range
1–9999
Required
No
Documented values19999

h1 variations

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

Side-by-side comparison2 variations

h1 = 1

Uses 1 for height of the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-h1-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h1 = 2

Uses 2 for height of the Code 39 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-h1-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,2,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
w2

Narrow bar width of the MicroPDF417 bar code

Sets narrow bar width of the MicroPDF417 bar code. It can be omitted when the documented default is suitable.

Default
(600 dpi printer): 4 Default: (200- and 300 dpi printers): 2
Range
1–10
Required
No
Documented values110

w2 variations

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

Side-by-side comparison2 variations

w2 = 1

Uses 1 for narrow bar width of the MicroPDF417 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-w2-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

w2 = 10

Uses 10 for narrow bar width of the MicroPDF417 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-w2-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,10,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser
h2

Row height of the MicroPDF417 bar code

Sets row height of the MicroPDF417 bar code. It can be omitted when the documented default is suitable.

Default
(600 dpi printer): 8 Default: (200- and 300 dpi printers): 4
Range
1–255
Required
No
Documented values1255

h2 variations

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

Side-by-side comparison2 variations

h2 = 1

Uses 1 for row height of the MicroPDF417 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-h2-1.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,1
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT parameter example^FS
^XZ
Renderer8 dpmm
Preview loads in your browser

h2 = 255

Uses 255 for row height of the MicroPDF417 bar code while the other command values stay at representative defaults.

ZPLcaret-bt-h2-2.zpl
^XA
^PW640
^LL360
^FO36,32
^BY2,2,90
^BTN,1,2,1,1,255
^FD123456,SERIAL123^FS
^FO28,318^A0N,22,22^FDCaret BT 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