64
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 9 Advanced Features
Chapter 9
Advanced Features
Complex 2-dimensional bar or dot codes, e.g. PDF417, require many
specifying parameters. Therefore, there is a complex command that
allows all bar code parameters to be specified within a single com-
mand. This command can also be used for one-dimensional bar
codes (see chapter 4.4).
BARSET[#<start parameter>,]["<bar code name>"[,<ratio wide bars>
[,<ratio narrow bars>[,<magnification>[,<height> [,<security level>
[,<aspect ratio height>[,<aspect ratio width>[,<no. of rows>[,<no. of columns>
[,<truncate flag>]]]]]]]]]]]
<start parameter>
specifies first parameter in the command
(default 1)
<bar code name>
specifies bar code
(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)
<security level>
only used in PDF417 and Maxicode
(default 2)
<aspect height ratio> only used in PDF417 and Maxicode
(default 1)
<aspect height width> only used in PDF417 and Maxicode
(default 2)
<no. of rows>
only used in PDF417 and Maxicode
(default 0)
<no. of columns>
only used in PDF417 and Maxicode
(default 0)
<truncate flag>
only used in PDF417 and Maxicode
(default 0)
1. Specifying
Complex Bar
Codes