Kyocera ECOSYS FS-4100DN PRESCRIBE Commands Technical Reference Manual - Rev. - Page 25

Zero-relative Lines, Result of Draw Commands: Absolute Lines

Page 25 highlights

Figure 2. 1. Result of Draw Commands: Absolute Lines Edge limits Margins MAP 0.5, 1; DAP 2, 0.5; The initial !R! command switches the printing system to the PRESCRIBE mode. Remember that this command must always precede each sequence of PRESCRIBE commands. The RES (RESet) clears the current page from printing system memory and re-establishes the printing system's permanent defaults. Although you would not include this command in every sequence of PRESCRIBE commands, we include it in this example to ensure consistent results. As a standard practice, include the RES at the beginning and end of each job. The STM and SLM set both the top and left margins to 0.5 inches (1.27 centimeters). The SPD (Set Pen Diameter) command determines the thickness of lines. In the standard graphics mode, this setting determines the thickness of all lines drawn after the command is issued. In this example, the line width is set to 0.01 inches. The starting point of the line is established with the MAP (Move to Absolute Position) command. This command moves the cursor to a point that is a specified distance from the top and left margins. In this example, the point specified is 0.5 inches from the left margin and 1 inch from the top margin. If the margins are changed, the position specified by MAP also changes correspondingly. On the next line of the program, the DAP (Draw to Absolute Position) command draws a line from the starting position to the point 2 inches from the left margin and 0.5 inches from the top margin. Finally, PAGE; prints out the page, allowing us to look at the result of our work. Zero-relative Lines The line draw example below uses some new commands to draw another line. !R! RES; SPD 0.01; MZP 0.5, 1; DZP 2, 0.5; PAGE; EXIT; 2-3

  • 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
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260

2-3
Figure 2. 1.
Result of Draw Commands: Absolute Lines
The initial !R! command switches the printing system to the PRESCRIBE mode.
Remember that this command must always precede each sequence of PRESCRIBE com-
mands.
The RES (RESet) clears the current page from printing system memory and re-estab-
lishes the printing system’s permanent defaults. Although you would not include this
command in every sequence of PRESCRIBE commands, we include it in this example to
ensure consistent results. As a standard practice, include the RES at the beginning and
end of each job.
The STM and SLM set both the top and left margins to 0.5 inches (1.27 centimeters).
The SPD (Set Pen Diameter) command determines the thickness of lines. In the standard
graphics mode, this setting determines the thickness of all lines drawn after the command
is issued. In this example, the line width is set to 0.01 inches.
The starting point of the line is established with the MAP (Move to Absolute Position)
command. This command moves the cursor to a point that is a specified distance from
the top and left margins. In this example, the point specified is 0.5 inches from the left
margin and 1 inch from the top margin.
If the margins are changed, the position specified by MAP also changes correspondingly.
On the next line of the program, the DAP (Draw to Absolute Position) command draws a
line from the starting position to the point 2 inches from the left margin and 0.5 inches
from the top margin.
Finally, PAGE; prints out the page, allowing us to look at the result of our work.
Zero-relative Lines
The line draw example below uses some new commands to draw another line.
!R! RES;
SPD 0.01;
MZP 0.5, 1;
DZP 2, 0.5;
PAGE;
EXIT;
Edge limits
Margins
DAP 2, 0.5;
MAP 0.5, 1;