^BY โ€” Barcode Field Defaults

ZPL course ยท ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^BY โ€” Barcode Field Defaults

Description

^BY sets barcode defaults for the whole label: narrow-bar width in dots, wide-to-narrow ratio and bar height. Every barcode below inherits them unless it overrides. (There is no ^RS2 in ZPL.)

Example

^XA
^BY4,,80
^FX Wide bars, default ratio, 80-dot height for every barcode below.
^FO20,20^B3N,N,Y,N,N^FDBY-DEMO^FS
^XZ

Rendered ^BY label

Result

One ^BY governs the barcode below: 4-dot modules at 80-dot height.

Article author: Andrei Olegovich

Related articles
RFID
ZPL
ZPL course: 50 lessons
ZPL FAQ
RFID tools

Search this site

Channel @aofeed Chat @aofeedchat

Contacts and cooperation:
I recommend our hosting beget.ru
Write to info@urn.su, info@aredel.com if you:
1. Want to write an article for our site or translate an article into your native language.
2. Want to place thematically relevant ads on the site.
3. Ads on my site pass maximum censorship. If you see an ad block unsuitable for school-age children, shocking or misleading - please contact us by e-mail
4. Found a mistake, inaccuracy, bug, etc. on the site. ... .......
5. Articles can be shared on social media by clicking a network icon: