ESim v5.12 for EasyCoder PD4—Programmer’s Reference Manual
51
Chapter —Commands
Remarks
This command is used in forms that require sequential number-
ing. When initializing counters, they must be defined in order
(for example C0, C1, C2, etc.) after possible variables.
To print the contents of the counter, the counter number (C0-
C9) is entered in the "DATA" field of
A
(Print Text) or
B
Bar Code) commands.
Prompts will only be displayed if a
UI
command has been issued
after last power-up. The Keyboard Display Unit sends the
UI
command automatically.
The field justification parameter (p
3
) affects the way the counter
will be printed. When p
3
= L, R, or C, the counter value will
be printed left, right or center justified in an area with a width
defined by p
2
(number of digits). If no justification is selected
(p
3
= N), the field will truncated from the right side so as to not
exceed the set maximum field length, which may be useful when
using a counter as input data to a bar code.
If the start value entered, when the form is retrieved for printing,
is started by one or several zeros (0), the entire area specified by
p
2
(number of digits) will be padded with leading zeros, that is p
3
(field justification) will have no effect.
Note:
If a single counter is stepped up several times on the same
form, then the step value p
4
must be set to the number of times
the counter is used in the form or equivalent to what the step
values for the single counter add up to in this form. A Cn±x
command must also be used when designing the actual form. See
the
A
and
B
commands.
The table below illustrates how leading space characters ("")
in DATA will be influenced by next character at wrap around.
If next position is a digit with wrap around (9
→
0), space will
be incremented to digit 1. If next position is a letter with wrap
around (Z
→
A), space will be incrementred to letter A.
Содержание EasyCoder PD4
Страница 1: ...Programmer s Reference Manual ESim v5 12 for EasyCoder PD4 Bar Code Label Printer ...
Страница 22: ...16 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 3 Setting Up the Printer ...
Страница 134: ...128 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 7 Commands ...
Страница 138: ...132 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 8 Fonts ...
Страница 154: ...148 ESim v5 12 for EasyCoder PD4 Programmer s Reference Manual Chapter 9 Code Pages and Character Sets ...