25
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 4 Label Design
4. Bar Code Field,
cont'd.
Set Bar Code Magnification
The magnification of the bar code and the bar code ratio decides the
actual thickness of the bars. For example, if
BARRATIO
is 3:1 and
BARMAG
is 2, then the wide bars will be 6 dots thick (3
×
2) and the
narrow bars will be 2 dots (1
×
2). Magnification also affects inter-
pretations that are integrated in the code, e.g. EAN and UPC codes.
BARMAG | BM <magnification>
<magnification>
the enlargement factor of the bar code pat-
tern.
Default:
2
Reset to default by:
PRINTFEED|PF
Bar Codes (combined command)
The
BARSET
command is primarily intended for complex 2-di-
mensional codes (see chapter 9.1), but can also be used to specify
more simple bar codes by means of a single command:
BARSET"<code name>",<ratio wide bars>,<ratio narrow bars>,<magn.>,<height>
<code name>
specifies bar code name
(default "INT2OF5")
<ratio wide bars>
specifies ratio wide/narrow bars
(default 3)
<ratio narrow bars> specifies ratio wide/narrow bars
(default 1)
<magnification>
specifies magnification
(default 2)
<height>
specifies height of bars in dots
(default 100)
Reset to default by:
PRINTFEED|PF