Oki X400 X400 Programming Command Manual - Page 13

aaaabb, aaaabbbb

Page 13 highlights

1. Explain the different commands and provide examples of their usage. 2. To provide a detailed reference for programming. Each command begins on a separate page with its own heading. An uniform layout is used to help you find key information about each command. For each Command Code in this section, there will be a sample data input stream to the printer and the expected print output. By studying the examples, you can lean how to use the particular command within a whole block of printer code. Pay particular attention to the "Special Notes" with each command to learn other important information. The subjected commands are highlighted in bold letters in the Reference Sheets. There are two parts of most, but not all, commands. The first is the command character which immediately follows the code. It is always an upper case alpha or a special character (such as an "&" or a "%"). It is never a lower case alpha character. If the command requires additional variable information, it is represented by a group of lower case alpha characters immediately following the command character. For example, if an aaaabb is listed following the basic command, the printer will look for six characters immediately following the command. The first four will represent the value of aaaa and the next two the value of bb. The maximum number of characters defined in a parameter is represented by the number of characters shown in the command structure. For example, a command followed by an aaaa can have up to four characters. In general, commands with only one parameter following the command can be entered without leading zeros. In the above example, you could enter either "809" or "0809". However, certain parameters following the command code, such as aaaabbbb require the exact number of digits to be entered. If the value of aaaa is "800" and the value of bbbb is "300", then the parameters must be entered as "08000300". It is recommended that you make it a practice to always enter leading zeros to prevent any mistakes. 11

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137

1.
Explain the different commands and provide examples of their usage.
2.
To provide a detailed reference for programming.
Each command begins on a separate page with its own heading. An uniform layout is used to help you find key
information about each command. For each Command Code in this section, there will be a sample data input
stream to the printer and the expected print output. By studying the examples, you can lean how to use the
particular command within a whole block of printer code. Pay particular attention to the “Special Notes” with
each command to learn other important information.
The subjected commands are highlighted in bold letters in the Reference Sheets. There are two parts of most,
but not all, commands. The first is the command character which immediately follows the <
ESC
> code. It is
always an upper case alpha or a special character (such as an “&” or a “%”). It is never a lower case alpha
character. If the command requires additional variable information, it is represented by a group of lower case
alpha characters immediately following the command character. For example, if an
aaaabb
is listed following
the basic command, the printer will look for six characters immediately following the command. The first four
will represent the value of
aaaa
and the next two the value of
bb
.
The maximum number of characters defined in a parameter is represented by the number of characters shown in
the command structure. For example, a command followed by an
aaaa
can have up to four characters. In
general, commands with only one parameter following the command can be entered without leading zeros. In
the above example, you could enter either “809” or “0809”. However, certain parameters following the
command code, such as
aaaabbbb
require the exact number of digits to be entered. If the value of
aaaa
is
“800” and the value of
bbbb
is “300”, then the parameters must be entered as “08000300”. It is recommended
that you make it a practice to always enter leading zeros to prevent any mistakes.
11