10
UBI EasyCoder 301 Direct Protocol – Programmer's Guide Ed. 1
Chapter 3 Principles of Operation
Then add the variable input data and a print command:
LAYOUT RUN "LABEL1"
↵
(select layout)
<STX>
(start of input data, ASCII 02 dec)
UBI
↵
(variable input data to VAR1$)
My FIRST label!
↵
(variable input data to VAR2$)
<EOT>
(end of input data, ASCII 04 dec)
PF
↵
(print one label)
The printable information on a label, ticket, tag or piece of strip
consists of various types of field. A field can consist of:
• A single line of text
• A bar code with or without human readable interpretation
• An image, i.e. a picture, logo or sign in .PCX format
• A box, i.e. a hollow square or rectangle
• A line
Any type of field should be specified with regard to:
• Position
• Alignment
• Direction
Refer to chapter 4.2 for more information.
Depending on the type of field, additional formatting commands
can be used:
• Text Field:
- Font (typeface)
- Font Size (in points)
- Font Slant (in degrees)
- Magnification
- Normal Image/Inverse Image
• Bar Code Field
1
:
- Bar Code Type
- Height (height of bar pattern)
- Ratio (wide bars/narrow bars)
- Magnification (bar pattern)
- Bar Code Interpretation On/Off
- Bar Code Interpretation Font
- Bar Code Interpretation Font Size
- Bar Code Interpretation Font Slant
3. Fields
2. Sending
Commands,
cont'd.
4. General
Formatting
Commands
5. Field-Related
Formatting
Commands
1
/ . This refers to one-dimensional
bar codes only. Complex two-
dimensional bar or dot codes
may have other formatting
parameters.