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

Table 7.45., KPDL Description Operators Sheet 5 of 11

Page 233 highlights

KPDL Operators Table 7.45. KPDL Page Description Operators (Sheet 5 of 11) Preceding stack init incr limit proc array proc dict proc string proc any num/string1 num/string2 array index dict key string index string index count Operator FontDirectory for forall forall forall 2 gcheck ge get get get getinterval array index count getinterval 2 globaldict 2 GlobalFontDirectory name 2 glyphshow grestore grestoreall gsave 2 gstate num/string1 num/string2 matrix gt identmatrix int1 int2 idiv dx' dy' idtransform dx' dy' matrix idtransform bool proc bool proc1 proc2 if ifelse dict image wd ht bits matrix proc image dict imagemask wd ht invt matrix proc imagemask objn...obj0 n index x y userpath 2 ineofill ineofill x y userpath 2 infill infill initclip initgraphics initmatrix x y userpath 2 instroke instroke Result dict bool bool obj obj int substring subarray dict dict gstate bool matrix quotient dx dy dx dy Description Push directory of font dictionaries on stack Execute proc for init to limit in steps of incr Do proc for each array element Do proc for each element of dict Do proc for each element of string Return residence mode of any Test whether num/string1 is greater than or equal to num/string2 Get array element at index location Get value associated with key in dictionary Get string element at index location Get substring. Index and count are starting location and length of substring Get subarray. Index and count are starting element and length of subarray Create a new dictionary object Push a dictionary of defined font Show a single character Restore saved graphics state Restore to bottommost graphics state Save graphics state Create a new graphics state object Test whether num/string1 > num/string2 Replace matrix with identity transform Divide int1 by int2; integer quotient Transform distance from device to user space Transform distance by inverse of matrix Do proc if bool is true Do proc1 if bool is true; otherwise do proc2 Print bit-mapped image Print binary mask objn...obj0 objn bool bool bool Copy n-th object to top of stack Test the current path on the even- odd rule for insideness Test the current path for insideness Initialize clipping path Reset graphics state parameters Initialize current transfer matrix Test pixels in the current path for insideness 7-121

  • 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

KPDL Operators
7-121
FontDirectory
dict
Push directory of font
dictionaries on stack
init incr limit proc
for
Execute
proc
for
init
to
limit
in
steps of
incr
array proc
forall
Do proc for each array element
dict proc
forall
Do proc for each element of dict
string proc
forall
Do proc for each element of
string
any
2
gcheck
bool
Return residence mode of any
num/string1
num/string2
ge
bool
Test whether num/string1 is
greater than or equal to
num/string2
array index
get
obj
Get array element at index
location
dict key
get
obj
Get value associated with key in
dictionary
string index
get
int
Get string element at index
location
string index count
getinterval
substring
Get substring. Index and count
are starting location and length
of substring
array index count
getinterval
subarray
Get subarray. Index and count
are starting element and length
of subarray
2
globaldict
dict
Create a new dictionary object
2
GlobalFontDirectory
dict
Push a dictionary of defined
font
name
2
glyphshow
Show a single character
grestore
Restore saved graphics state
grestoreall
Restore to bottommost graphics
state
gsave
Save graphics state
2
gstate
gstate
Create a new graphics state
object
num/string1
num/string2
gt
bool
Test whether num/string1 >
num/string2
matrix
identmatrix
matrix
Replace matrix with identity
transform
int1 int2
idiv
quotient
Divide
int1
by
int2
; integer
quotient
dx’ dy’
idtransform
dx dy
Transform distance from device
to user space
dx’ dy’ matrix
idtransform
dx dy
Transform distance by inverse
of matrix
bool proc
if
Do
proc
if
bool
is true
bool proc1 proc2
ifelse
Do
proc1
if
bool
is true;
otherwise do
proc2
dict
image
Print bit-mapped image
wd ht bits matrix proc
image
dict
imagemask
Print binary mask
wd ht invt matrix proc
imagemask
objn...obj0 n
index
objn...obj0 objn
Copy n-th object to top of stack
x y userpath
2
ineofill
ineofill
bool
Test the current path on the
even- odd rule for insideness
x y userpath
2
infill
infill
bool
Test the current path for
insideness
initclip
Initialize clipping path
initgraphics
Reset graphics state parameters
initmatrix
Initialize current transfer matrix
x y userpath
2
instroke
instroke
bool
Test pixels in the current path
for insideness
Table 7.45.
KPDL Page Description Operators (Sheet 5 of 11)
Preceding stack
Operator
Result
Description