Intermec EasyCoder E4 Programmer's Reference Manual page 39

Direct protocol v2.10
Hide thumbs Also See for EasyCoder E4:
Table of Contents

Advertisement

9. Printable Commands, cont.
EasyCoder E4 Direct Protocol v2.10 – Programmer's Reference Manual
Input Data to Text Fields
Input data is inserted into a text fi eld using a PRTXT command.
You can add various types of data to a text fi eld:
• Plain text, by typing, for example "Abcdefgh" or "012345"
• Variable input data, using variables, for example VAR1$
• Counter values, for example CNT1$
• Current date, using DATE$ or DATE$("F")
• Current time, using TIME$ or TIME$("F")
• The weekday of the current or specifi ed date, using WEEK-
DAY$
• The number of the current or specifi ed date, using WEEK-
NUMBER
• An offset date, using DATEADD$ or DATEADD$("F")
• An offset time, using TIMEADD$ or TIMEADD$("F")
You can combine different types of data in a single PRTXT com-
mand. The different parts are separated by semicolons (;). Note
that plain text must be enclosed by double quotation marks.
PRTXT | PT "<input data>"[;"<input data>"...]
Examples:
PT "Price: $1.99" ↵
PT "Price: ";VAR1$;" per dozen" ↵
PT "Box No. ";CNT15$;" Packed: ";DATE$ ("F") ↵
PT WEEKDAY$(DATE$);", ";DATE$("F") ↵
PT "Week Number ";WEEKNUMBER(DATE$) ↵
PT "Expiry date: ";DATEADD$ (30,"F") ↵
Input Data to Bar Code Fields
Input data is inserted into a bar code fi eld using a PRBAR com-
mand. You can add the same types of data to a bar code fi eld as to
a text fi eld, as long as the type of data (fnumeric/alphanumeric)
and the number of characters, etc. comply with the bar code
specifi cation. You can combine different types of data in a single
PRBAR command. The different parts are separated by semico-
lons (;). Note that alphanumeric input must be enclosed by
double quotation marks.
PRBAR | PB <input data>[;<input data>...]
Examples:
PB "71543";VAR5$ ↵
PB "Intermec" ↵
PB DATE$;TIME$ ↵
Chapter 4
Label Design
37

Advertisement

Table of Contents
loading

Table of Contents